diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-10-17 18:06:54 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-17 18:06:54 +0000 |
commit | 2743606f83a2f9fcd02e09ff5112fb1dc2ae866a (patch) | |
tree | bc6f26ee508a48036efd7e4e151d757c6928131d /tests | |
parent | 315abb4523d6b70445258356191f3abce93c9799 (diff) | |
parent | 86d57454e7846dc0f6604bf8906eb39c7ae9b255 (diff) | |
download | extras-2743606f83a2f9fcd02e09ff5112fb1dc2ae866a.tar.gz |
Merge "Use -Werror in system/extras/tests" am: 0bc040a8cb am: 652738ae52 am: f117e43806
am: 86d57454e7
Change-Id: I4978439e228bf87351704558518da98752f210b1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/testUtil/Android.bp | 1 | ||||
-rw-r--r-- | tests/lib/testUtil/testUtil.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/testUtil/Android.bp b/tests/lib/testUtil/Android.bp index 35678d4f..8ac90a6e 100644 --- a/tests/lib/testUtil/Android.bp +++ b/tests/lib/testUtil/Android.bp @@ -17,6 +17,7 @@ cc_library_static { name: "libtestUtil", srcs: ["testUtil.c"], + cflags: ["-Wall", "-Werror"], export_include_dirs: ["include"], shared_libs: [ "libcutils", diff --git a/tests/lib/testUtil/testUtil.c b/tests/lib/testUtil/testUtil.c index 791a2f70..26781ea9 100644 --- a/tests/lib/testUtil/testUtil.c +++ b/tests/lib/testUtil/testUtil.c @@ -393,7 +393,6 @@ testXDumpGetOffset(void) void testExecCmd(const char *cmd) { FILE *fp; - int rv; int status; char str[MAXSTR]; |