ICU-535 Fixed some compiler warnings

X-SVN-Rev: 3574
This commit is contained in:
George Rhoten 2001-02-06 21:56:47 +00:00
parent 4445a84480
commit ad995eff2d
4 changed files with 13 additions and 3 deletions

View File

@ -123,7 +123,7 @@ ufile_lookup_codepage(const char *locale)
return 0;
}
UBool hasICUData(const char *cp) {
static UBool hasICUData(const char *cp) {
UErrorCode status = U_ZERO_ERROR;
UConverter *cnv = NULL;
#if 0

View File

@ -1505,6 +1505,9 @@ u_vfprintf_u( UFILE *f,
case ufmt_date:
args.dateValue = va_arg(ap, UDate);
break;
default:
break; /* Should never get here */
}
}

View File

@ -175,6 +175,10 @@ u_scanf_scanset_handler(UFILE *stream,
const UChar *fmt,
int32_t *consumed);
int32_t
u_scanf_skip_leading_ws(UFILE *stream,
UChar pad);
/* ANSI style formatting */
/* Use US-ASCII characters only for formatting */
@ -1311,6 +1315,9 @@ u_vfscanf_u( UFILE *f,
case ufmt_ustring:
args.ptrValue = va_arg(ap, UChar*);
break;
default:
break; /* Should never get here */
}
}
/* call the handler function */

View File

@ -19,7 +19,7 @@
#include "uscanset.h"
UBool
static UBool
u_scanf_scanset_add(u_scanf_scanset *scanset,
UChar c)
{
@ -32,7 +32,7 @@ u_scanf_scanset_add(u_scanf_scanset *scanset,
return TRUE;
}
UBool
static UBool
u_scanf_scanset_addrange(u_scanf_scanset *scanset,
UChar start,
UChar end)