diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 16:20:58 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 16:20:58 +0000 |
commit | dfe8987d7216509715aa14bddb5a05c34ea2202e (patch) | |
tree | b24b4db9b509da9ec6a601ba0f9b943612dedc57 /build | |
parent | 56cd2343fceaaa20540db96619ae15424f8d2814 (diff) | |
download | chromium_src-dfe8987d7216509715aa14bddb5a05c34ea2202e.zip chromium_src-dfe8987d7216509715aa14bddb5a05c34ea2202e.tar.gz chromium_src-dfe8987d7216509715aa14bddb5a05c34ea2202e.tar.bz2 |
linux and chromeos: Turn on -Wunused-const-variable.
BUG=307668
R=hans@chromium.org
TBR=oshima
Review URL: https://codereview.chromium.org/29263007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build/common.gypi b/build/common.gypi index 04c81e5..2238a75 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -3198,10 +3198,6 @@ # http://crbug.com/255186 '-Wno-deprecated-register', - # TODO(hans): Remove once we've cleaned up the warnings. - # http://crbug.com/307668 - '-Wno-unused-const-variable', - # This warns about auto_ptr<>, used in third-party code. '-Wno-deprecated-declarations', ], @@ -3224,6 +3220,11 @@ 'cflags_cc': [ '-Wno-implicit-exception-spec-mismatch', ], + 'cflags': [ + # TODO(hans): Remove once we've cleaned up the warnings. + # http://crbug.com/307668 + '-Wno-unused-const-variable', + ], }], ['clang==1 and clang_use_chrome_plugins==1', { 'cflags': [ |