summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/Android.mk
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-05-20 12:03:02 -0700
committerChih-Hung Hsieh <chh@google.com>2015-05-20 12:03:02 -0700
commitad8ba0ea4e9848afd076efc587fa8a9752616cc3 (patch)
tree0bb4f20552e5f7671c1d8f57f54ce5e52b5dfcc9 /qcwcn/wifi_hal/Android.mk
parente760bb3cfd99bebb19fc37c72e97aa042b61709c (diff)
downloadwlan-ad8ba0ea4e9848afd076efc587fa8a9752616cc3.tar.gz
Fix or ignore trivial clang/llvm warnings.
BUG: 21326225 BUG: 21118907 Change-Id: I3ac741a9648cfbddbc1fc1a9b24e2a4420fe2a15
Diffstat (limited to 'qcwcn/wifi_hal/Android.mk')
-rw-r--r--qcwcn/wifi_hal/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/Android.mk b/qcwcn/wifi_hal/Android.mk
index 28ab42b..4022f19 100644
--- a/qcwcn/wifi_hal/Android.mk
+++ b/qcwcn/wifi_hal/Android.mk
@@ -20,6 +20,9 @@ include $(CLEAR_VARS)
LOCAL_CFLAGS := -Wno-unused-parameter
+# gscan.cpp: address of array 'cached_results[i].results' will always evaluate to 'true'
+LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
external/libnl/include \
@@ -69,6 +72,9 @@ LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_CFLAGS += -DNAN_2_0
LOCAL_CPPFLAGS += -Wno-conversion-null
+# gscan.cpp: address of array 'cached_results[i].results' will always evaluate to 'true'
+LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
external/libnl/include \