aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-12 21:16:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 21:16:54 +0000
commitdd059e8204adcc3d7210ec2820d317acb40f4d57 (patch)
treed44101e2da413cec0d301d9684ffc03c8b56c3c8
parent1355b80eaeeb2c63bdbc72a9f883d2391161700a (diff)
parent872df74e02f2a7caae54b5813238fccff115e179 (diff)
downloadchre-o-mr1-iot-preview-6.tar.gz
am: 872df74e02 Change-Id: Icfe39ef616742f307e4163e45c4d422cfca83cf9
-rw-r--r--Android.bp3
-rw-r--r--host/common/test/chre_test_client.cc1
2 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index f6263389..b578f16d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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();