Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4768ce23 authored by Andreas Gampe's avatar Andreas Gampe Committed by Gerrit Code Review
Browse files

Merge "Bluetooth: Silence unused-parameter warning"

parents 74d825da 61a1f927
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ LOCAL_CFLAGS += \
endif
LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -std=c99
LOCAL_CLANG_CFLAGS += -Wno-error=gnu-variable-sized-type-not-at-end
# Too many unused parameters. TODO: Annotate them.
LOCAL_CFLAGS += -Wno-unused-parameter

LOCAL_SRC_FILES:= \
    ./dm/bta_dm_ci.c \
+2 −0
Original line number Diff line number Diff line
@@ -165,5 +165,7 @@ LOCAL_REQUIRED_MODULES := \

LOCAL_CLANG_CFLAGS := -Wno-error=gnu-variable-sized-type-not-at-end
LOCAL_CLANG_CFLAGS += -Wno-typedef-redefinition
# Too many unused parameters. TODO: Annotate them.
LOCAL_CFLAGS += -Wno-unused-parameter

include $(BUILD_SHARED_LIBRARY)
+2 −0
Original line number Diff line number Diff line
@@ -166,5 +166,7 @@ LOCAL_SHARED_LIBRARIES := libcutils libc
# a struct.
# const-logical-operand is needed for code in l2c_utils.c that looks intentional.
LOCAL_CLANG_CFLAGS += -Wno-error=gnu-variable-sized-type-not-at-end -Wno-error=constant-logical-operand
# Too many unused parameters. TODO: Annotate them.
LOCAL_CFLAGS += -Wno-unused-parameter

include $(BUILD_STATIC_LIBRARY)