ICU-900 Fixed some compiler warnings.

X-SVN-Rev: 7711
This commit is contained in:
George Rhoten 2002-02-19 23:50:19 +00:00
parent 39ae64b6ed
commit 0c41e609dc
2 changed files with 7 additions and 7 deletions

View File

@ -25,22 +25,22 @@ U_CDECL_BEGIN
/* No-Op UCharIterator implementation for illegal input --------------------- */
static int32_t U_CALLCONV
noopGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) {
return 0;
}
static int32_t U_CALLCONV
noopMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) {
noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) {
return 0;
}
static UBool U_CALLCONV
noopHasNext(UCharIterator *iter) {
noopHasNext(UCharIterator * /*iter*/) {
return FALSE;
}
static int32_t U_CALLCONV
noopCurrent(UCharIterator *iter) {
noopCurrent(UCharIterator * /*iter*/) {
return -1;
}

View File

@ -803,15 +803,15 @@ uloc_getLCID(const char* localeID)
if (U_SUCCESS(err))
{
UResourceBundle *localeID = ures_getByKey(bundle, _kLocaleID, NULL, &err);
UResourceBundle *resLocaleID = ures_getByKey(bundle, _kLocaleID, NULL, &err);
if (U_SUCCESS(err))
{
result = ures_getInt(localeID, &err);
result = ures_getInt(resLocaleID, &err);
if (U_FAILURE(err))
{
result = 0;
}
ures_close(localeID);
ures_close(resLocaleID);
}
ures_close(bundle);
}