mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22127
This commit is contained in:
parent
31b9b945db
commit
2435b965b7
2 changed files with 4 additions and 4 deletions
icu4c/source
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue