Преглед изворни кода

bt: disable implicit fall through warnings

Ivan Grokhotkov пре 7 година
родитељ
комит
51c9b6b82d
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      components/bt/component.mk

+ 3 - 0
components/bt/component.mk

@@ -17,6 +17,9 @@ COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
 
 COMPONENT_SUBMODULES += lib
 
+# TODO: annotate fallthroughs in Bluedroid code with comments
+CFLAGS += -Wno-implicit-fallthrough
+
 endif