ICU-2699 Fix some compiler warnings
X-SVN-Rev: 12157
This commit is contained in:
parent
3e9f1b7ea5
commit
a94d09c3b5
@ -152,7 +152,7 @@ static UBool _load() {
|
||||
* unnecessary function call. If the data is not loaded, call _load()
|
||||
* to load it, and return TRUE if the load succeeds.
|
||||
*/
|
||||
static UBool inline load() {
|
||||
static inline UBool load() {
|
||||
umtx_lock(NULL);
|
||||
UBool f = (PNAME!=NULL);
|
||||
umtx_unlock(NULL);
|
||||
|
@ -73,7 +73,9 @@
|
||||
|
||||
/* the global mutex. Use it proudly and wash it often. */
|
||||
static UMTX gGlobalMutex = NULL;
|
||||
# ifdef _DEBUG
|
||||
static int32_t gRecursionCount; /* Detect Recursive entries. For debugging only. */
|
||||
# endif
|
||||
|
||||
#if defined(WIN32)
|
||||
static CRITICAL_SECTION gPlatformMutex;
|
||||
|
@ -206,7 +206,7 @@ unorm_cleanup() {
|
||||
dataErrorCode=U_ZERO_ERROR;
|
||||
haveNormData=0;
|
||||
|
||||
for(i=0; i<LENGTHOF(nxCache); ++i) {
|
||||
for(i=0; i<(int32_t)LENGTHOF(nxCache); ++i) {
|
||||
delete nxCache[i];
|
||||
}
|
||||
uprv_memset(nxCache, 0, sizeof(nxCache));
|
||||
|
Loading…
Reference in New Issue
Block a user