commit | f007bd3cf8cacd75287781c1bb37fe4167c79cba | [log] [tgz] |
---|---|---|
author | John Grossman <johngro@google.com> | Tue Jul 31 16:57:18 2012 -0700 |
committer | Jason Simmons <jsimmons@google.com> | Wed Aug 08 13:15:45 2012 -0700 |
tree | 4ea8eda9b09fd4d018597abdf7a85b813bac7fd7 | |
parent | 5017f2328407447002ab2d0cae1fe8ef87c50501 [diff] [blame] |
common_time: Fix a small build warning. (cherry picked from commit f19c7a64a5c35dcc684708fc56e5cbd2a4997c4b) > common_time: Fix a small build warning. > > Change-Id: I9a3652c8191ec86089117dbe6c16ff8612a911a3 > Signed-off-by: John Grossman <johngro@google.com> Change-Id: I9d04f457d8a7f45249c86c4ad69bfd71fdd77245 Signed-off-by: John Grossman <johngro@google.com>
diff --git a/services/common_time/common_time_server.cpp b/services/common_time/common_time_server.cpp index 16be8f1..17f99b9 100644 --- a/services/common_time/common_time_server.cpp +++ b/services/common_time/common_time_server.cpp
@@ -584,7 +584,7 @@ static void hexDumpToString(const uint8_t* src, size_t src_len, char* dst, size_t dst_len) { - size_t offset; + size_t offset = 0; size_t i; for (i = 0; (i < src_len) && (offset < dst_len); ++i) {