mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
This commit is contained in:
parent
9d289d4570
commit
13b807cf6f
4 changed files with 0 additions and 6 deletions
|
@ -775,8 +775,6 @@ static UBool compareBinaryFiles(char* defaultTZFileName, char* TZFileName) {
|
|||
|
||||
char* bufferFile;
|
||||
|
||||
int32_t index;
|
||||
|
||||
UBool result = TRUE;
|
||||
|
||||
if (file != NULL && defaultTZFilePtr != NULL) {
|
||||
|
|
|
@ -320,7 +320,6 @@ const char *JapaneseCalendar::getType() const
|
|||
|
||||
int32_t JapaneseCalendar::getDefaultMonthInYear(int32_t eyear)
|
||||
{
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
int32_t era = internalGetEra();
|
||||
// TODO do we assume we can trust 'era'? What if it is denormalized?
|
||||
|
||||
|
@ -338,7 +337,6 @@ int32_t JapaneseCalendar::getDefaultMonthInYear(int32_t eyear)
|
|||
|
||||
int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month)
|
||||
{
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
int32_t era = internalGetEra();
|
||||
int32_t day = 1;
|
||||
|
||||
|
|
|
@ -550,7 +550,6 @@ static void testCollator(UCollator *coll, UErrorCode *status) {
|
|||
uint32_t tempLen;
|
||||
UChar *rulesCopy = NULL;
|
||||
UParseError parseError;
|
||||
const char *colLoc;
|
||||
|
||||
src.opts = &opts;
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
static FILE *fopenOrError(const char *filename) {
|
||||
int32_t needLen;
|
||||
FILE *f;
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
char fnbuf[FILENAME_BUFFER];
|
||||
const char* directory= ctest_dataSrcDir();
|
||||
needLen = uprv_strlen(directory)+uprv_strlen(TDSRCPATH)+uprv_strlen(filename)+1;
|
||||
|
|
Loading…
Add table
Reference in a new issue