ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3574
This commit is contained in:
parent
4445a84480
commit
ad995eff2d
@ -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
|
||||
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user