From 0cd1226d843c29e285105e600f3c71c35052e1c4 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Thu, 13 Nov 2003 17:43:30 +0000 Subject: [PATCH] ICU-3379 remove unused variables X-SVN-Rev: 13715 --- icu4c/source/i18n/timezone.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/icu4c/source/i18n/timezone.cpp b/icu4c/source/i18n/timezone.cpp index 4bab6014362..77ed6ce0e34 100644 --- a/icu4c/source/i18n/timezone.cpp +++ b/icu4c/source/i18n/timezone.cpp @@ -826,7 +826,6 @@ private: UErrorCode ec = U_ZERO_ERROR; UResourceBundle *top = ures_openDirect(0, kZONEINFO, &ec); top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section - int32_t len; unistr = ures_getUnicodeStringByIndex(top, i,&ec); if(U_FAILURE(ec)) { unistr.truncate(0); @@ -1046,7 +1045,6 @@ TimeZone::getEquivalentID(const UnicodeString& id, int32_t index) { if (zone >= 0) { UResourceBundle *ares = ures_getByKey(top, kNAMES, NULL, &ec); // dereference Zones section if (U_SUCCESS(ec)) { - int32_t len; result = ures_getUnicodeStringByIndex(ares, zone, &ec); U_DEBUG_TZ_MSG(("gei(%d) -> %d, len%d, %s\n", index, zone, result.length(), u_errorName(ec))); }