ICU-6412 Remove some unused variables.

X-SVN-Rev: 24692
This commit is contained in:
Michael Ow 2008-10-01 15:39:27 +00:00
parent 9d289d4570
commit 13b807cf6f
4 changed files with 0 additions and 6 deletions

View file

@ -775,8 +775,6 @@ static UBool compareBinaryFiles(char* defaultTZFileName, char* TZFileName) {
char* bufferFile;
int32_t index;
UBool result = TRUE;
if (file != NULL && defaultTZFilePtr != NULL) {

View file

@ -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;

View file

@ -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;

View file

@ -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;