From d25535331fbd43c54a4f899c7c2b52ead0ba3fc2 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 6 Oct 2006 18:14:24 +0000 Subject: [PATCH] ICU-5445 Fix some compiler warnings. X-SVN-Rev: 20505 --- icu4c/source/common/unorm.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/icu4c/source/common/unorm.cpp b/icu4c/source/common/unorm.cpp index 14565ad6189..c21840be53f 100644 --- a/icu4c/source/common/unorm.cpp +++ b/icu4c/source/common/unorm.cpp @@ -1278,10 +1278,12 @@ unorm_getQuickCheck(UChar32 c, UNormalizationMode mode) { U_CAPI uint16_t U_EXPORT2 unorm_getFCD16FromCodePoint(UChar32 c) { - UErrorCode errorCode; uint16_t fcd; - +#if !UNORM_HARDCODE_DATA + UErrorCode errorCode; errorCode=U_ZERO_ERROR; +#endif + if( #if !UNORM_HARDCODE_DATA !_haveData(errorCode) ||