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

Unified Diff: icu.gyp

Issue 1224463003: Suppress "unused-const-variable" Clang warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Rebase. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu.gyp
diff --git a/icu.gyp b/icu.gyp
index 99662d1080347a9a07fafb676be390c9a59b8b9c..fb9dda035f691daf86d602e175441c5d5bf6b365 100644
--- a/icu.gyp
+++ b/icu.gyp
@@ -295,6 +295,11 @@
# ICU has some code with the pattern:
# if (found = uprv_getWindowsTimeZoneInfo(...))
'-Wno-parentheses',
+ # ICU generally has no unused variables, but there are a few
+ # places where this warning triggers.
+ # See https://codereview.chromium.org/1222643002/ and
+ # http://www.icu-project.org/trac/ticket/11759.
+ "-Wno-unused-const-variable",
],
},
'cflags': [
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698