diff options
| -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) { |