ICU-3804 disable assertion in mutex code when threading is disabled.

X-SVN-Rev: 15780
This commit is contained in:
George Rhoten 2004-06-08 03:19:44 +00:00
parent eab936b14b
commit 0f43db0e68

View File

@ -250,7 +250,9 @@ umtx_unlock(UMTX* mutex)
}
if(*mutex == NULL) {
#if (ICU_USE_THREADS == 1)
U_ASSERT(FALSE); /* This mutex is not initialized. */
#endif
return;
}