summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-23 17:51:56 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-23 17:51:56 +0000
commitc37297f3318617849e5930870afb18bbaf91ddb5 (patch)
tree6ff6ab0b713f0925016f97801af25c7377dbb39a
parent0520298e3a58c99bc87a4e8c5f64aa419354159b (diff)
parent3f69451b030917a0f29459e8e9f08b11ec8a980d (diff)
downloadsystem_core-c37297f3318617849e5930870afb18bbaf91ddb5.zip
system_core-c37297f3318617849e5930870afb18bbaf91ddb5.tar.gz
system_core-c37297f3318617849e5930870afb18bbaf91ddb5.tar.bz2
am 3f69451b: am 818f8004: Merge "logd: used before set warning"
* commit '3f69451b030917a0f29459e8e9f08b11ec8a980d': 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;