From 373d3c7257fa815d0b9ee8f16874470a6002042e Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 18 Oct 2017 16:28:14 -0700 Subject: Use -Werror in system/extras * Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312 --- tests/pftest/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pftest/Android.mk') diff --git a/tests/pftest/Android.mk b/tests/pftest/Android.mk index bedbd0cb..1f829370 100644 --- a/tests/pftest/Android.mk +++ b/tests/pftest/Android.mk @@ -13,6 +13,6 @@ LOCAL_MODULE:= pftest LOCAL_MODULE_TAGS := optional ## LOCAL_CFLAGS += -fstack-protector-all -LOCAL_CFLAGS += -fomit-frame-pointer +LOCAL_CFLAGS += -fomit-frame-pointer -Wall -Werror include $(BUILD_EXECUTABLE) -- cgit v1.2.3