mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix nonsense use of libicu, spotted by the analyser, with a not-so-helpful warning (he status pointer passed in to icu functions MUST be initialised to 0, because the ICU functions test it as well as setting it so you can call a load of ICU functions with the same status flag and not wrap them all in tests).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32066 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
940adacf2d
commit
dd88a65f4a
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ static NSRecursiveLock *classLock = nil;
|
|||
#if GS_USE_ICU == 1
|
||||
int32_t length = 0;
|
||||
unichar buffer[ULOC_FULLNAME_CAPACITY];
|
||||
UErrorCode status;
|
||||
UErrorCode status = 0;
|
||||
const char *keyword = NULL;
|
||||
const char *locale = [_localeId UTF8String];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue