Merge "Use -Werror in frameworks/base/tests/backup"

This commit is contained in:
Chih-hung Hsieh
2017-12-06 00:25:20 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
backup_helper_test.cpp
LOCAL_CFLAGS := -Wall -Werror
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := backup_helper_test
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
@@ -43,4 +44,3 @@ LOCAL_PACKAGE_NAME := BackupTest
LOCAL_PROGUARD_ENABLED := disabled
include $(BUILD_PACKAGE)

View File

@@ -118,7 +118,7 @@ main(int argc, const char** argv)
#else
int
main(int argc, char** argv)
main(int, char**)
{
printf ("test_backup_helper built without the tests\n");
return 0;