ICU-900 Fixed some compiler warnings.

X-SVN-Rev: 7589
This commit is contained in:
George Rhoten 2002-02-07 04:22:32 +00:00
parent 8a304253a3
commit ade841729e
2 changed files with 6 additions and 2 deletions

View File

@ -110,7 +110,7 @@ static UErrorCode dataErrorCode=U_ZERO_ERROR;
static int8_t haveNormData=0;
static int32_t indexes[_NORM_INDEX_TOP]={ 0 };
static UTrie normTrie={ 0 }, fcdTrie={ 0 };
static UTrie normTrie={ 0,0,0,0,0,0,0 }, fcdTrie={ 0,0,0,0,0,0,0 };
/*
* pointers into the memory-mapped unorm.dat
@ -164,7 +164,7 @@ static int8_t
loadNormData(UErrorCode &errorCode) {
/* load Unicode normalization data from file */
if(haveNormData==0) {
UTrie _normTrie={ 0 }, _fcdTrie={ 0 };
UTrie _normTrie={ 0,0,0,0,0,0,0 }, _fcdTrie={ 0,0,0,0,0,0,0 };
UDataMemory *data;
const int32_t *p=NULL;

View File

@ -406,6 +406,7 @@ u_strToUTF8(char *dest,
return (char*)dest;
}
#if !defined(U_WCHAR_IS_UTF16) && !defined(U_WCHAR_IS_UTF32)
/* helper function */
static wchar_t*
_strToWCS(wchar_t *dest,
@ -566,6 +567,7 @@ cleanup:
return dest;
}
#endif
U_CAPI wchar_t* U_EXPORT2
u_strToWCS(wchar_t *dest,
@ -612,6 +614,7 @@ u_strToWCS(wchar_t *dest,
#endif
}
#if !defined(U_WCHAR_IS_UTF16) && !defined(U_WCHAR_IS_UTF32)
/* helper function */
static UChar*
_strFromWCS( UChar *dest,
@ -814,6 +817,7 @@ cleanup:
return dest;
}
#endif
U_CAPI UChar* U_EXPORT2
u_strFromWCS(UChar *dest,