summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJohn Grossman <johngro@google.com>2012-07-31 17:33:45 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-07-31 17:33:45 -0700
commit985eb88e90b1fad4af51d8385bef67f689d0ab3d (patch)
tree6f2d8994497bc144c4896cfd3d8e1c5ed2e37e87 /services
parenta50393faf5253ff62acd0d5b066201d52b0c7092 (diff)
parentf19c7a64a5c35dcc684708fc56e5cbd2a4997c4b (diff)
downloadframeworks_base-985eb88e90b1fad4af51d8385bef67f689d0ab3d.zip
frameworks_base-985eb88e90b1fad4af51d8385bef67f689d0ab3d.tar.gz
frameworks_base-985eb88e90b1fad4af51d8385bef67f689d0ab3d.tar.bz2
Merge "common_time: Fix a small build warning."
Diffstat (limited to 'services')
-rw-r--r--services/common_time/common_time_server.cpp2
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 16be8f1..17f99b9 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) {