diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-12-05 10:11:02 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-12-05 10:18:23 -0800 |
commit | 548fdbda19d327e2285e43bf72c136938dbe6817 (patch) | |
tree | 8aa413e11c7b49f026eea076ed7acdd11991dc9a /tools/streaming_proto/stream_proto_utils.cpp | |
parent | af807e02d07a3ee68f873830c5931f414d8df5a7 (diff) |
Use -Werror in frameworks/base/tools/streaming_proto
* Remove unused constants.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I43940e8c446bab25b8fa841ec8c17885ab5d88ed
Diffstat (limited to 'tools/streaming_proto/stream_proto_utils.cpp')
-rw-r--r-- | tools/streaming_proto/stream_proto_utils.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/streaming_proto/stream_proto_utils.cpp b/tools/streaming_proto/stream_proto_utils.cpp index e8f86bc0be83..fb2d98d45b0e 100644 --- a/tools/streaming_proto/stream_proto_utils.cpp +++ b/tools/streaming_proto/stream_proto_utils.cpp @@ -13,8 +13,6 @@ const uint64_t FIELD_TYPE_SHIFT = 32; // TODO: packed is not supported yet. // const uint64_t FIELD_COUNT_SHIFT = 40; -const uint64_t FIELD_COUNT_MASK = 0x0fULL << FIELD_COUNT_SHIFT; -const uint64_t FIELD_COUNT_UNKNOWN = 0; const uint64_t FIELD_COUNT_SINGLE = 1ULL << FIELD_COUNT_SHIFT; const uint64_t FIELD_COUNT_REPEATED = 2ULL << FIELD_COUNT_SHIFT; const uint64_t FIELD_COUNT_PACKED = 5ULL << FIELD_COUNT_SHIFT; |