diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-05-06 14:52:23 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2015-05-07 15:39:39 -0700 |
commit | 8aceb8fcd434ed95fb9b3d9bcfe2149a6adb1444 (patch) | |
tree | 056c289f52e49707aa7d2ed7c20c19cd81a3a48f /gatekeeper_messages.cpp | |
parent | ec9fd1d44227dc0e8538153214eae9e7cedb66ab (diff) | |
download | gatekeeper-8aceb8fcd434ed95fb9b3d9bcfe2149a6adb1444.tar.gz |
Fix clang warnings on unused variable and function.
BUG: 20891269
Change-Id: I191d5e54cd9c4a1e85aaa73fa08eeb9810342782
(cherry picked from commit 65625f39c8cc785f4bb3d8a22bf14e758ae23769)
Diffstat (limited to 'gatekeeper_messages.cpp')
-rw-r--r-- | gatekeeper_messages.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gatekeeper_messages.cpp b/gatekeeper_messages.cpp index b9ff8ea..4e5e833 100644 --- a/gatekeeper_messages.cpp +++ b/gatekeeper_messages.cpp @@ -95,7 +95,6 @@ uint32_t GateKeeperMessage::Serialize(uint8_t *buffer, const uint8_t *end) const } gatekeeper_error_t GateKeeperMessage::Deserialize(const uint8_t *payload, const uint8_t *end) { - uint32_t error_value; if (payload + sizeof(uint32_t) > end) return ERROR_INVALID; const serial_header_t *header = reinterpret_cast<const serial_header_t *>(payload); if (header->error == ERROR_NONE) { |