mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
[ICU-7] remove unused Mutex variables
X-Commit-URL: https://ssl.icu-project.org/trac/changeset/98
This commit is contained in:
parent
253c4280a8
commit
725e37f1f1
4 changed files with 0 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue