ICU-5032 Increase code coverage numbers by removing redundant code

X-SVN-Rev: 19356
This commit is contained in:
George Rhoten 2006-03-16 22:47:23 +00:00
parent cf9c14a088
commit 95212a9bfd

View file

@ -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)) {