ICU-3804 disable assertion in mutex code when threading is disabled.
X-SVN-Rev: 15780
This commit is contained in:
parent
eab936b14b
commit
0f43db0e68
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user