diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-12-05 09:56:46 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-12-05 09:58:06 -0800 |
commit | b40ec900e260a08f6bd624e05c0861a5b0b52cb8 (patch) | |
tree | bf922bb953ce43d16b8b598233f2085bd7e1ba55 /tests/backup | |
parent | cdb84d2fc722f9f28bbcaee949798324c95c068a (diff) |
Use -Werror in frameworks/base/tests/backup
* Ommit unused parameter names.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ie073fd911480960673b24d5b4d84b4f8dd0d0302
Diffstat (limited to 'tests/backup')
-rw-r--r-- | tests/backup/Android.mk | 4 | ||||
-rw-r--r-- | tests/backup/backup_helper_test.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/backup/Android.mk b/tests/backup/Android.mk index 88794c26520e..202a699c1706 100644 --- a/tests/backup/Android.mk +++ b/tests/backup/Android.mk @@ -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) - diff --git a/tests/backup/backup_helper_test.cpp b/tests/backup/backup_helper_test.cpp index b5f6ff57e6d9..457dcc40a607 100644 --- a/tests/backup/backup_helper_test.cpp +++ b/tests/backup/backup_helper_test.cpp @@ -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; |