ICU-6998 compiler warning fix
X-SVN-Rev: 26116
This commit is contained in:
parent
5e56d5c9b7
commit
3531c28ea0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user