ICU-6998 compiler warning fix

X-SVN-Rev: 26116
This commit is contained in:
Andy Heninger 2009-06-16 16:32:43 +00:00
parent 5e56d5c9b7
commit 3531c28ea0

View File

@ -124,7 +124,7 @@ UnicodeString& RelativeDateFormat::format( Calendar& cal,
int dayDiff = dayDifference(cal, status);
// look up string
int32_t len;
int32_t len = 0;
const UChar *theString = getStringForDay(dayDiff, len, status);
if(U_SUCCESS(status) && (theString!=NULL)) {
// found a relative string