From 85312fdf16d90d008e94e16e5e032a979d38aa68 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Fri, 25 May 2012 19:51:34 +0000 Subject: [PATCH] ICU-8879 Code review cleanups X-SVN-Rev: 31862 --- icu4c/source/tools/gensprep/store.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/icu4c/source/tools/gensprep/store.c b/icu4c/source/tools/gensprep/store.c index 4245a9d06dd..30bd9fc50a3 100644 --- a/icu4c/source/tools/gensprep/store.c +++ b/icu4c/source/tools/gensprep/store.c @@ -356,7 +356,7 @@ storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UChar* map = NULL; - int16_t adjustedLen=0, i; + int16_t adjustedLen=0, i, j; uint16_t trieWord = 0; ValueStruct *value = NULL; uint32_t savedTrieWord = 0; @@ -437,9 +437,8 @@ storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, map = (UChar*) uprv_calloc(adjustedLen + 1, U_SIZEOF_UCHAR); - for (i=0; i