summaryrefslogtreecommitdiffstats
path: root/rild
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2017-04-11 09:21:08 -0700
committerTomasz Wasilczyk <twasilczyk@google.com>2017-04-12 14:24:15 -0700
commit88961c2a2feb543bc6f63b42eeaa112ddca5d6e3 (patch)
treebd136b637da3d008a53e4dd7073c386ee5ae4a41 /rild
parente7b2a3d1f6fa8bb5111a4b3ac92c9b5c324eb515 (diff)
downloadandroid_hardware_ril-88961c2a2feb543bc6f63b42eeaa112ddca5d6e3.tar.gz
android_hardware_ril-88961c2a2feb543bc6f63b42eeaa112ddca5d6e3.tar.bz2
android_hardware_ril-88961c2a2feb543bc6f63b42eeaa112ddca5d6e3.zip
Fix warnings and set Werror flags to not let them happen again.
Test: it builds. Bug: b/37159108 Change-Id: I3b0d6376d81615774b60e71a6eebf6f38224df88
Diffstat (limited to 'rild')
-rw-r--r--rild/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rild/Android.mk b/rild/Android.mk
index abcc522..ef653a2 100644
--- a/rild/Android.mk
+++ b/rild/Android.mk
@@ -18,6 +18,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
LOCAL_CFLAGS := -DRIL_SHLIB
#LOCAL_CFLAGS += -DANDROID_MULTI_SIM
+LOCAL_CFLAGS += -Wall -Wextra -Werror
ifeq ($(SIM_COUNT), 2)
LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2