diff options
author | Chih-Hung Hsieh | 2017-11-07 18:13:14 -0600 |
---|---|---|
committer | android-build-merger | 2017-11-07 18:13:14 -0600 |
commit | 3022022eff8919ac5b2416e11cd1cf882b6e54c3 (patch) | |
tree | eda920547ba33c56b53f1cb30ce1eec1107b2373 /tools | |
parent | 4508668a97339f7ffbd2f0b7a1327d0292eacd86 (diff) | |
parent | 20fdefebcf596a613dbb6727ad9b6a16b7132f64 (diff) | |
download | platform-packages-services-car-3022022eff8919ac5b2416e11cd1cf882b6e54c3.tar.gz platform-packages-services-car-3022022eff8919ac5b2416e11cd1cf882b6e54c3.tar.xz platform-packages-services-car-3022022eff8919ac5b2416e11cd1cf882b6e54c3.zip |
Use -Werror in packages/services/Car/tools am: 7f50f1e4bd
am: 20fdefebcf
Change-Id: I348d255ecd58df9db355b2ad920d4c97c5fb21fb
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bootio/Android.mk | 2 | ||||
-rw-r--r-- | tools/bootio/bootio_collector.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/bootio/Android.mk b/tools/bootio/Android.mk index bbf9e9f0..e4db8355 100644 --- a/tools/bootio/Android.mk +++ b/tools/bootio/Android.mk | |||
@@ -30,6 +30,8 @@ bootio_shared_libs := \ | |||
30 | libprotobuf-cpp-lite \ | 30 | libprotobuf-cpp-lite \ |
31 | 31 | ||
32 | bootio_cflags := \ | 32 | bootio_cflags := \ |
33 | -Wall \ | ||
34 | -Werror \ | ||
33 | -Wextra \ | 35 | -Wextra \ |
34 | 36 | ||
35 | define bootio_proto_include | 37 | define bootio_proto_include |
diff --git a/tools/bootio/bootio_collector.cpp b/tools/bootio/bootio_collector.cpp index 96aa765d..495a9aa4 100644 --- a/tools/bootio/bootio_collector.cpp +++ b/tools/bootio/bootio_collector.cpp | |||
@@ -33,8 +33,6 @@ namespace android { | |||
33 | #define PID_IO_FILE "/proc/%d/io" | 33 | #define PID_IO_FILE "/proc/%d/io" |
34 | #define PROC_DIR "/proc" | 34 | #define PROC_DIR "/proc" |
35 | 35 | ||
36 | static const int PROC_NAME_LEN = 64; | ||
37 | static const int THREAD_NAME_LEN = 32; | ||
38 | static const int MAX_LINE = 256; | 36 | static const int MAX_LINE = 256; |
39 | 37 | ||
40 | #define die(...) { LOG(ERROR) << (__VA_ARGS__); exit(EXIT_FAILURE); } | 38 | #define die(...) { LOG(ERROR) << (__VA_ARGS__); exit(EXIT_FAILURE); } |