diff options
Diffstat (limited to 'Build/source/libs/icu-xetex/common/ures_cnv.c')
-rw-r--r-- | Build/source/libs/icu-xetex/common/ures_cnv.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/libs/icu-xetex/common/ures_cnv.c b/Build/source/libs/icu-xetex/common/ures_cnv.c index c7d94b8af6f..c9729019df6 100644 --- a/Build/source/libs/icu-xetex/common/ures_cnv.c +++ b/Build/source/libs/icu-xetex/common/ures_cnv.c @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 1997-2004, International Business Machines +* Copyright (C) 1997-2006, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -54,10 +54,6 @@ ures_openU(const UChar *myPath, #if !UCONFIG_NO_CONVERSION /* use the default converter to support variant-character paths */ UConverter *cnv=u_getDefaultConverter(status); - if(U_FAILURE(*status)) { - return NULL; - } - length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status); u_releaseDefaultConverter(cnv); if(U_FAILURE(*status)) { |