diff options
| author | 2012-07-31 16:57:18 -0700 | |
|---|---|---|
| committer | 2012-08-08 13:15:45 -0700 | |
| commit | f007bd3cf8cacd75287781c1bb37fe4167c79cba (patch) | |
| tree | 4ea8eda9b09fd4d018597abdf7a85b813bac7fd7 | |
| parent | 5017f2328407447002ab2d0cae1fe8ef87c50501 (diff) | |
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>
| -rw-r--r-- | services/common_time/common_time_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/common_time/common_time_server.cpp b/services/common_time/common_time_server.cpp index 16be8f1ce00c..17f99b90b934 100644 --- a/services/common_time/common_time_server.cpp +++ b/services/common_time/common_time_server.cpp @@ -584,7 +584,7 @@ bool CommonTimeServer::arbitrateMaster( 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) { |