remove unused Mutex variables

X-Trac-URL: https://ssl.icu-project.org/trac/ticket/7



git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@98 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
Markus Scherer 1999-10-22 00:40:11 +00:00
parent 36afc2c419
commit 92b0cd7c58
4 changed files with 0 additions and 10 deletions

View file

@ -5174,9 +5174,7 @@ u_charDigitValue(UChar ch)
void
createTables()
{
Mutex* lock = NULL;
CompactByteArray* newTables;
lock = NULL;
if (tables == 0) {
newTables = ucmp8_openAdopt((uint16_t*)indicies, (int8_t*)values, offsetCount);
umtx_lock(NULL);
@ -5225,7 +5223,6 @@ createUlTables()
void
createDirTables()
{
Mutex* lock=NULL;
CompactByteArray* newTables;
if (dirTables == 0)
{

View file

@ -222,8 +222,6 @@ UConverter* ucnv_openCCSID (int32_t codepage,
void ucnv_close (UConverter * converter)
{
Mutex *updateReferenceCounterMutex = NULL;
if (converter == NULL)
return;
if ((converter->sharedData->conversionType == UCNV_ISO_2022) &&
@ -248,7 +246,6 @@ int32_t ucnv_flushCache ()
UConverterSharedData *mySharedData = NULL;
int32_t pos = -1;
int32_t tableDeletedNum = 0;
Mutex *flushCacheMutex = NULL;
/*if shared data hasn't even been lazy evaluated yet
* return 0

View file

@ -414,7 +414,6 @@ int32_t uhash_hashSharedData (void *sharedData)
/*Puts the shared data in the static hashtable SHARED_DATA_HASHTABLE */
void shareConverterData (UConverterSharedData * data)
{
Mutex *sharedData = NULL;
UErrorCode err = U_ZERO_ERROR;
/*Lazy evaluates the Hashtable itself */
@ -506,7 +505,6 @@ int32_t uhash_hashIString(const void* name)
}
bool_t isDataBasedConverter (const char *name)
{
Mutex *createHashTableMutex = NULL;
int32_t i = 0;
bool_t result = FALSE;
UErrorCode err = U_ZERO_ERROR;
@ -567,7 +565,6 @@ UConverter *
char realName[UCNV_MAX_CONVERTER_NAME_LENGTH];
UConverter *myUConverter = NULL;
UConverterSharedData *mySharedConverterData = NULL;
Mutex *updatingReferenceCounterMutex = NULL;
if (U_FAILURE (*err))
return NULL;

View file

@ -144,7 +144,6 @@ void
void
doSetupAliasTableAndAvailableConverters (FileStream * converterFile, UErrorCode * err)
{
Mutex *convertrsFileOpenMutex = NULL;
char myLine[UCNV_MAX_LINE_TEXT];
char *line = myLine;
char actualNameToken[UCNV_MAX_CONVERTER_NAME_LENGTH];