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

Commit 61a1f927 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Bluetooth: Silence unused-parameter warning

Silence these for now. Reduce build noise.

Change-Id: I787c31f60c8d24e3dd2bae8d1acaa7592b7e29ba
parent bf1c1e71
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)