Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: patches/gcc46.patch

Issue 8120001: Make it compile with -Werror on gcc 4.6 (Closed) Base URL: http://git.chromium.org/chromium/deps/icu46.git@master
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | public/common/unicode/unistr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
OLDNEW
« no previous file with comments | « README.chromium ('k') | public/common/unicode/unistr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698