ICU-1234 Integration fix for AIX, don't 'goto' around variable inits. PS this is a cool jitterbug number, did you have to pay extra for it?

X-SVN-Rev: 7600
This commit is contained in:
Steven R. Loomis 2002-02-08 01:10:41 +00:00
parent e33da55324
commit 5eed47ddd2

View File

@ -322,6 +322,7 @@ UBool TransliteratorIDParser::parseCompoundID(const UnicodeString& id, int32_t d
UVector& list, UVector& list,
UnicodeSet*& globalFilter) { UnicodeSet*& globalFilter) {
UErrorCode ec = U_ZERO_ERROR; UErrorCode ec = U_ZERO_ERROR;
int32_t i;
int32_t pos = 0; int32_t pos = 0;
int32_t withParens = 1; int32_t withParens = 1;
list.removeAllElements(); list.removeAllElements();
@ -371,7 +372,7 @@ UBool TransliteratorIDParser::parseCompoundID(const UnicodeString& id, int32_t d
} }
// Construct canonical ID // Construct canonical ID
for (int32_t i=0; i<list.size(); ++i) { for (i=0; i<list.size(); ++i) {
SingleID* single = (SingleID*) list.elementAt(i); SingleID* single = (SingleID*) list.elementAt(i);
canonID.append(single->canonID); canonID.append(single->canonID);
if (i != (list.size()-1)) { if (i != (list.size()-1)) {