ICU-4288 fix compiler warnings
X-SVN-Rev: 18232
This commit is contained in:
parent
f1dceb6718
commit
6c460ca8b2
@ -1007,7 +1007,9 @@ unorm_getUnicodeVersion(UVersionInfo *versionInfo, UErrorCode *pErrorCode){
|
||||
|
||||
U_CAPI UBool U_EXPORT2
|
||||
unorm_getCanonStartSet(UChar32 c, USerializedSet *fillSet) {
|
||||
#if !UNORM_HARDCODE_DATA
|
||||
UErrorCode errorCode=U_ZERO_ERROR;
|
||||
#endif
|
||||
if( fillSet!=NULL && (uint32_t)c<=0x10ffff &&
|
||||
#if !UNORM_HARDCODE_DATA
|
||||
_haveData(errorCode) &&
|
||||
@ -1505,7 +1507,9 @@ _findNextStarter(const UChar *src, const UChar *limit,
|
||||
U_CAPI int32_t U_EXPORT2
|
||||
unorm_getDecomposition(UChar32 c, UBool compat,
|
||||
UChar *dest, int32_t destCapacity) {
|
||||
#if !UNORM_HARDCODE_DATA
|
||||
UErrorCode errorCode=U_ZERO_ERROR;
|
||||
#endif
|
||||
if( (uint32_t)c<=0x10ffff &&
|
||||
#if !UNORM_HARDCODE_DATA
|
||||
_haveData(errorCode) &&
|
||||
|
@ -658,7 +658,6 @@ TestUCaseMap() {
|
||||
static const char
|
||||
aBc[] ={ 0x61, 0x42, 0x63, 0 },
|
||||
abc[] ={ 0x61, 0x62, 0x63, 0 },
|
||||
ABC[] ={ 0x41, 0x42, 0x43, 0 },
|
||||
ABCg[]={ 0x41, 0x42, 0x43, 0x67, 0 },
|
||||
defg[]={ 0x64, 0x65, 0x66, 0x67, 0 };
|
||||
char utf8Out[8];
|
||||
|
Loading…
Reference in New Issue
Block a user