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

Unified Diff: webrtc/BUILD.gn

Issue 1928543002: GN: Add -Wimplicit-fallthrough warning (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/BUILD.gn
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index 2be69a5c708b8f668c57afe270fc1401fa0f6262..3ae09da2c90383b7c9c9d8111e293150ce2091b0 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -114,7 +114,10 @@ config("common_config") {
}
if (is_clang) {
- cflags += [ "-Wthread-safety" ]
+ cflags += [
+ "-Wimplicit-fallthrough",
+ "-Wthread-safety",
+ ]
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698