Allow implicit-fallthrough warnings locally. DO NOT MERGE.

It will be a global error by default.
This change is not needed for goog/master.

Test: make checkbuild
Bug: 112564944
Change-Id: Ie90ad1f59f6922da6cecd4a0ac136b1e42b6d482
Exempt-From-Owner-Approval: do not block on new warnings
This commit is contained in:
Chih-Hung Hsieh
2018-10-22 09:44:49 -07:00
parent 1191f516fe
commit ad8557bde8

View File

@@ -30,6 +30,8 @@ endif
ifdef WIFI_HIDL_FEATURE_DISABLE_AP
LOCAL_CPPFLAGS += -DWIFI_HIDL_FEATURE_DISABLE_AP
endif
# Allow implicit fallthroughs in wifi_legacy_hal.cpp until they are fixed.
LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
LOCAL_SRC_FILES := \
hidl_struct_util.cpp \
hidl_sync_util.cpp \