From 3531c28ea0ab5e4ac815b4c90221c1131ce003fe Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Tue, 16 Jun 2009 16:32:43 +0000 Subject: [PATCH] ICU-6998 compiler warning fix X-SVN-Rev: 26116 --- icu4c/source/i18n/reldtfmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/reldtfmt.cpp b/icu4c/source/i18n/reldtfmt.cpp index 2915a272130..a4aac385f39 100644 --- a/icu4c/source/i18n/reldtfmt.cpp +++ b/icu4c/source/i18n/reldtfmt.cpp @@ -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