mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 17316
This commit is contained in:
parent
9189ce6392
commit
1fd2507b51
1 changed files with 0 additions and 30 deletions
|
@ -123,36 +123,6 @@ static uint32_t computeCRC(char *ptr, uint32_t len, uint32_t lastcrc){
|
|||
return(crc);
|
||||
}
|
||||
|
||||
/*check the language with ISO 639 standard*/
|
||||
static UBool checkISOLanguage(char* language) {
|
||||
int i = 0;
|
||||
int result = -1;
|
||||
|
||||
while(ISOLanguages[i] != '\0') {
|
||||
result = uprv_strcmp(language, ISOLanguages[i]);
|
||||
if(result == 0) {
|
||||
return TRUE;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*check the language with ISO 639 standard*/
|
||||
static UBool checkISOCountry(char* country) {
|
||||
int i = 0;
|
||||
int result = -1;
|
||||
|
||||
while(ISOCountries[i]!='\0') {
|
||||
result = uprv_strcmp(country, ISOCountries[i]);
|
||||
if(result == 0) {
|
||||
return TRUE;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void strnrepchr(char* src, int32_t srcLen, char s, char r){
|
||||
int32_t i = 0;
|
||||
for(i=0;i<srcLen;i++){
|
||||
|
|
Loading…
Add table
Reference in a new issue