ICU-5445 Fix some compiler warnings.

X-SVN-Rev: 22127
This commit is contained in:
George Rhoten 2007-07-24 21:21:49 +00:00
parent 31b9b945db
commit 2435b965b7
2 changed files with 4 additions and 4 deletions
icu4c/source
i18n
test/intltest

View file

@ -36,7 +36,7 @@ U_CDECL_BEGIN
// Does not use uset.h to reduce code dependencies
static void U_CALLCONV
_set_add(USet *set, UChar32 c) {
((UnicodeSet *)set)->add(c);
uset_add(set, c);
}
// These functions aren't used.

View file

@ -1563,9 +1563,9 @@ void RBBITest::TestExtended() {
}
errln("line %d: Tag expected in test file.", lineNum);
goto end_test;
parseState = PARSE_COMMENT;
savedState = PARSE_DATA;
goto end_test; // Stop the test.
}
break;
@ -1742,8 +1742,8 @@ void RBBITest::TestExtended() {
errln("Syntax Error in test file at line %d, col %d",
lineNum, column);
goto end_test;
parseState = PARSE_COMMENT;
goto end_test; // Stop the test
break;
}
@ -1751,8 +1751,8 @@ void RBBITest::TestExtended() {
if (U_FAILURE(status)) {
errln("ICU Error %s while parsing test file at line %d.",
u_errorName(status), lineNum);
goto end_test;
status = U_ZERO_ERROR;
goto end_test; // Stop the test
}
}