summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2018-10-12 21:27:45 +0900
committerBernie Innocenti <codewiz@google.com>2018-10-12 21:35:36 +0900
commit11cd020a2e7f0e914c144f7fe1ca6295f6d8e382 (patch)
tree6791f537236de67a6679ed4f5853290e6fc3dd7b /Android.bp
parent8080621a4bf97239ca175780431c0a2f3423b0e4 (diff)
downloadnetd-11cd020a2e7f0e914c144f7fe1ca6295f6d8e382.tar.gz
Turn implicit fallthrow warnings into errors
Test: m netd ndc bpfloader libnetd_client netd_integration_test netd_unit_test netd_benchmark Change-Id: Ie607ab784fd6470d7dc7654b07f33f7f5b943118
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 872dcf57..c6110434 100644
--- a/Android.bp
+++ b/Android.bp
@@ -9,6 +9,8 @@ cc_defaults {
cflags: [
"-Wall",
"-Werror",
+ // Override -Wno-error=implicit-fallthrough from soong
+ "-Werror=implicit-fallthrough",
"-Wnullable-to-nonnull-conversion",
"-Wthread-safety",
"-Wunused-parameter",