summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2019-04-24 10:05:45 -0700
committerChih-Hung Hsieh <chh@google.com>2019-04-24 10:05:45 -0700
commit01d37b340fb96573414d9e0e4d80fc110d668b5f (patch)
treec0a217b8a194d9fafe3e2db142acbbd75abac428
parent136eb4d05fd2221f5184e27ded211241a5355d25 (diff)
downloadwlan-01d37b340fb96573414d9e0e4d80fc110d668b5f.tar.gz
Disable -Wimplicit-fallthrough unless src is fixed.
* 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: I9b7a6be2556afb70d2a8327053e3b207ef32cef1
-rw-r--r--qcwcn/wifi_hal/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/qcwcn/wifi_hal/Android.mk b/qcwcn/wifi_hal/Android.mk
index 639ccdb..857f156 100644
--- a/qcwcn/wifi_hal/Android.mk
+++ b/qcwcn/wifi_hal/Android.mk
@@ -29,7 +29,7 @@ LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion
LOCAL_CFLAGS += -Wall -Werror
# Allow implicit fallthrough in nan_ind.cpp:834 until it is fixed.
-LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+LOCAL_CFLAGS += -Wno-implicit-fallthrough
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
@@ -94,7 +94,7 @@ endif
LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion
# Allow implicit fallthrough in nan_ind.cpp:834 until it is fixed.
-LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+LOCAL_CFLAGS += -Wno-implicit-fallthrough
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \