aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-05-16 16:42:33 -0700
committerJean-Baptiste Queru <jbq@google.com>2012-05-16 16:42:33 -0700
commit0e0e06f2af1b170f67bcef252b7ccab6acba9b32 (patch)
treeb67c7d4e324e7854c09ca3997ba58b2bfa21ae2b
parent02c1be445f109b3ffe2b10663bff2fd8aaa9bddc (diff)
downloadicu4c-0e0e06f2af1b170f67bcef252b7ccab6acba9b32.tar.gz
Fix build
Change-Id: I42a878ac108f4dc7ad7cb2d5b5ed7ab32a64ccaa
-rw-r--r--common/unicode/unistr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/unicode/unistr.h b/common/unicode/unistr.h
index 2b53389a..96411bff 100644
--- a/common/unicode/unistr.h
+++ b/common/unicode/unistr.h
@@ -4052,6 +4052,7 @@ UnicodeString::replace(int32_t start,
int32_t count = 0;
UBool isError = FALSE;
U16_APPEND(buffer, count, U16_MAX_LENGTH, srcChar, isError);
+ (void)isError;
return doReplace(start, _length, buffer, 0, count);
}
@@ -4348,6 +4349,7 @@ UnicodeString::append(UChar32 srcChar) {
int32_t _length = 0;
UBool isError = FALSE;
U16_APPEND(buffer, _length, U16_MAX_LENGTH, srcChar, isError);
+ (void)isError;
return doReplace(length(), 0, buffer, 0, _length);
}