ICU-3379 remove unused variables
X-SVN-Rev: 13715
This commit is contained in:
parent
60cc29e0e4
commit
0cd1226d84
@ -826,7 +826,6 @@ private:
|
|||||||
UErrorCode ec = U_ZERO_ERROR;
|
UErrorCode ec = U_ZERO_ERROR;
|
||||||
UResourceBundle *top = ures_openDirect(0, kZONEINFO, &ec);
|
UResourceBundle *top = ures_openDirect(0, kZONEINFO, &ec);
|
||||||
top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section
|
top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section
|
||||||
int32_t len;
|
|
||||||
unistr = ures_getUnicodeStringByIndex(top, i,&ec);
|
unistr = ures_getUnicodeStringByIndex(top, i,&ec);
|
||||||
if(U_FAILURE(ec)) {
|
if(U_FAILURE(ec)) {
|
||||||
unistr.truncate(0);
|
unistr.truncate(0);
|
||||||
@ -1046,7 +1045,6 @@ TimeZone::getEquivalentID(const UnicodeString& id, int32_t index) {
|
|||||||
if (zone >= 0) {
|
if (zone >= 0) {
|
||||||
UResourceBundle *ares = ures_getByKey(top, kNAMES, NULL, &ec); // dereference Zones section
|
UResourceBundle *ares = ures_getByKey(top, kNAMES, NULL, &ec); // dereference Zones section
|
||||||
if (U_SUCCESS(ec)) {
|
if (U_SUCCESS(ec)) {
|
||||||
int32_t len;
|
|
||||||
result = ures_getUnicodeStringByIndex(ares, zone, &ec);
|
result = ures_getUnicodeStringByIndex(ares, zone, &ec);
|
||||||
U_DEBUG_TZ_MSG(("gei(%d) -> %d, len%d, %s\n", index, zone, result.length(), u_errorName(ec)));
|
U_DEBUG_TZ_MSG(("gei(%d) -> %d, len%d, %s\n", index, zone, result.length(), u_errorName(ec)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user