X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..d5d484b0fbe924d3663b177965538d517ee412c1:/icuSources/tools/genrb/ustr.c diff --git a/icuSources/tools/genrb/ustr.c b/icuSources/tools/genrb/ustr.c index 2a35db0b..aafcec54 100644 --- a/icuSources/tools/genrb/ustr.c +++ b/icuSources/tools/genrb/ustr.c @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 1998-2004, International Business Machines +* Copyright (C) 1998-2006, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -206,7 +206,6 @@ ustr_resize(struct UString *s, s->fChars = (UChar*) uprv_realloc(s->fChars, sizeof(UChar) * (len + 1)); if(s->fChars == 0) { *status = U_MEMORY_ALLOCATION_ERROR; - s->fChars = 0; s->fLength = s->fCapacity = 0; return; }