summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-23 17:48:25 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-23 17:48:25 +0000
commit3f69451b030917a0f29459e8e9f08b11ec8a980d (patch)
tree6c2988ace840d2cd117728a7fef2b7a5990506c2
parent0b17e1cf18def9830983aa5c37c7c62e83cf0169 (diff)
parent818f80045fe4c925a7739a1d1e69e3ebb3a3dbd9 (diff)
downloadsystem_core-3f69451b030917a0f29459e8e9f08b11ec8a980d.zip
system_core-3f69451b030917a0f29459e8e9f08b11ec8a980d.tar.gz
system_core-3f69451b030917a0f29459e8e9f08b11ec8a980d.tar.bz2
am 818f8004: Merge "logd: used before set warning"
* commit '818f80045fe4c925a7739a1d1e69e3ebb3a3dbd9': logd: used before set warning
-rw-r--r--logd/LogBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogBuffer.cpp b/logd/LogBuffer.cpp
index ae167aa..0448afa 100644
--- a/logd/LogBuffer.cpp
+++ b/logd/LogBuffer.cpp
@@ -174,7 +174,7 @@ void LogBuffer::log(log_id_t log_id, log_time realtime,
if (last == mLogElements.end()) {
mLogElements.push_back(elem);
} else {
- log_time end;
+ log_time end = log_time::EPOCH;
bool end_set = false;
bool end_always = false;