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

Unified Diff: chrome/browser/ui/libgtk2ui/libgtk2ui.gyp

Issue 722513003: Enable -Wunused-local-typedef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/libgtk2ui/BUILD.gn ('k') | components/pairing/fake_host_pairing_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
diff --git a/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp b/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
index ffe341e32940259ab6602e4e95049f0947e1eca8..d66b00c48ef1c6d2af58470a5ea2a1d29f395805 100644
--- a/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
+++ b/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
@@ -96,10 +96,13 @@
],
}],
[ 'clang==1', {
- # G_DEFINE_TYPE automatically generates a *get_instance_private inline function after glib 2.37.
- # That's unused. Prevent to complain about it.
'cflags': [
+ # G_DEFINE_TYPE automatically generates a *get_instance_private inline function after glib 2.37.
+ # That's unused. Prevent to complain about it.
'-Wno-unused-function',
+
+ # G_STATIC_ASSERT uses a typedef as a static_assert.
+ '-Wno-unused-local-typedef',
],
}],
],
« no previous file with comments | « chrome/browser/ui/libgtk2ui/BUILD.gn ('k') | components/pairing/fake_host_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698