summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2019-04-24 09:55:02 -0700
committerChih-Hung Hsieh <chh@google.com>2019-04-24 09:55:02 -0700
commit9d0da0f0a72a0cec00f150fe0d56cbf39ab62080 (patch)
tree914e8e81d05db00ecc1fa29c1e84189646f52b73
parenta954a762119a90b84fbb2cc7cfb493ad41a139a8 (diff)
downloadipacfg-mgr-9d0da0f0a72a0cec00f150fe0d56cbf39ab62080.tar.gz
Disable -Wimplicit-fallthrough unless src is fixed.android-o-mr1-iot-release-1.0.12oreo-mr1-iot-release
* Current -Wno-error=implicit-fallthrough caused clang-tidy assertion fault, see https://bugs.llvm.org/show_bug.cgi?id=39312 * We could enable this warning when source file is fixed. Bug: 117780134 Test: build with WITH_TIDY=1 Change-Id: I5e2c4b01dc11299e136b81f4ee3d817aa04c71cb
-rw-r--r--msm8998/ipacm/src/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/msm8998/ipacm/src/Android.mk b/msm8998/ipacm/src/Android.mk
index f569c35..57097c9 100644
--- a/msm8998/ipacm/src/Android.mk
+++ b/msm8998/ipacm/src/Android.mk
@@ -52,7 +52,7 @@ LOCAL_CFLAGS += \
-Wno-writable-strings \
# Allow implicit fallthroughs in IPACM_Main.cpp until they are fixed.
-LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+LOCAL_CFLAGS += -Wno-implicit-fallthrough
LOCAL_SRC_FILES := IPACM_Main.cpp \
IPACM_EvtDispatcher.cpp \