Home | History | Annotate | Download | only in patches
      1 diff --git a/public/common/unicode/unistr.h b/public/common/unicode/unistr.h
      2 index 57ea346..9aba6f0 100644
      3 --- a/public/common/unicode/unistr.h
      4 +++ b/public/common/unicode/unistr.h
      5 @@ -4023,6 +4023,7 @@ UnicodeString::replace(int32_t start,
      6    int32_t count = 0;
      7    UBool isError = FALSE;
      8    U16_APPEND(buffer, count, U16_MAX_LENGTH, srcChar, isError);
      9 +  (void) isError;
     10    return doReplace(start, _length, buffer, 0, count);
     11  }
     12  
     13 @@ -4326,6 +4327,7 @@ UnicodeString::append(UChar32 srcChar) {
     14    int32_t _length = 0;
     15    UBool isError = FALSE;
     16    U16_APPEND(buffer, _length, U16_MAX_LENGTH, srcChar, isError);
     17 +  (void) isError;
     18    return doReplace(length(), 0, buffer, 0, _length);
     19  }
     20  
     21