OSDN Git Service

Remove the need for -Wno-constant-logical-operand
[android-x86/system-bt.git] / Android.mk
index 3b89e29..29760e4 100644 (file)
@@ -22,8 +22,6 @@ bluetooth_CFLAGS += -DEXPORT_SYMBOL="__attribute__((visibility(\"default\")))"
 #
 # Common C/C++ compiler flags.
 #
-# -Wno-constant-logical-operand is needed for code in l2c_utils.c that is
-#  intentional.
 # -Wno-gnu-variable-sized-type-not-at-end is needed, because struct BT_HDR
 #  is defined as a variable-size header in a struct.
 # -Wno-typedef-redefinition is needed because of the way the struct typedef
@@ -37,7 +35,6 @@ bluetooth_CFLAGS += \
   -Wall \
   -Wextra \
   -Werror \
-  -Wno-constant-logical-operand \
   -Wno-gnu-variable-sized-type-not-at-end \
   -Wno-typedef-redefinition \
   -Wno-unused-parameter \