diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-12 21:16:54 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-12 21:16:54 +0000 |
commit | dd059e8204adcc3d7210ec2820d317acb40f4d57 (patch) | |
tree | d44101e2da413cec0d301d9684ffc03c8b56c3c8 | |
parent | 1355b80eaeeb2c63bdbc72a9f883d2391161700a (diff) | |
parent | 872df74e02f2a7caae54b5813238fccff115e179 (diff) | |
download | chre-o-mr1-iot-preview-6.tar.gz |
Use -Werror in system/chreandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: 872df74e02
Change-Id: Icfe39ef616742f307e4163e45c4d422cfca83cf9
-rw-r--r-- | Android.bp | 3 | ||||
-rw-r--r-- | host/common/test/chre_test_client.cc | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -33,6 +33,7 @@ cc_library_static { "liblog", "libutils", ], + cflags: ["-Wall", "-Werror"], } cc_test { @@ -45,6 +46,7 @@ cc_test { srcs: [ "host/common/test/chre_test_client.cc", ], + cflags: ["-Wall", "-Werror"], shared_libs: [ "libcutils", "liblog", @@ -62,6 +64,7 @@ cc_library_shared { srcs: [ "host/hal_generic/generic_context_hub.cc", ], + cflags: ["-Wall", "-Werror"], shared_libs: [ "libcutils", "liblog", diff --git a/host/common/test/chre_test_client.cc b/host/common/test/chre_test_client.cc index 994c7097..602a6e3e 100644 --- a/host/common/test/chre_test_client.cc +++ b/host/common/test/chre_test_client.cc @@ -198,7 +198,6 @@ void sendUnloadNanoappRequest(SocketClient& client, uint64_t appId) { } // anonymous namespace int main() { - int ret = -1; SocketClient client; sp<SocketCallbacks> callbacks = new SocketCallbacks(); |