diff --git a/icu4c/source/common/uidna.cpp b/icu4c/source/common/uidna.cpp index 4775546f6ff..fe51157f156 100644 --- a/icu4c/source/common/uidna.cpp +++ b/icu4c/source/common/uidna.cpp @@ -481,12 +481,6 @@ getNextSeparator(UChar *src,int32_t srcLength,StringPrep* prep, } } - // we have not found the delimiter - if(i==srcLength){ - *limit = src+srcLength; - *done = TRUE; - } - return i; }else{ int32_t i; for(i=0;i