mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-5032 Increase code coverage numbers by removing redundant code
X-SVN-Rev: 19356
This commit is contained in:
parent
cf9c14a088
commit
95212a9bfd
1 changed files with 1 additions and 5 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue