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:
David Chisnall 2011-02-11 12:39:01 +00:00
parent 940adacf2d
commit dd88a65f4a

View file

@ -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];