ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23504
This commit is contained in:
parent
6019297d79
commit
a880af6cec
@ -407,11 +407,13 @@ printNoteElements(UnicodeString *Accumulator, struct UString *src, UErrorCode *s
|
||||
|
||||
count = getCount(src->fChars,src->fLength, UPC_NOTE, status);
|
||||
if(U_FAILURE(*status)){
|
||||
uprv_free(note);
|
||||
return;
|
||||
}
|
||||
for(i=0; i < count; i++){
|
||||
noteLen = getAt(src->fChars,src->fLength, ¬e, capacity, i, UPC_NOTE, status);
|
||||
if(U_FAILURE(*status)){
|
||||
uprv_free(note);
|
||||
return;
|
||||
}
|
||||
if(noteLen > 0){
|
||||
|
Loading…
Reference in New Issue
Block a user