summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index df09ece..501b15b 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -138,14 +138,14 @@ bool BuildLog::Load(const string& path, string* err) {
start_time = atoi(start);
start = end + 1;
- char* end = strchr(start, field_separator);
+ end = strchr(start, field_separator);
if (!end)
continue;
*end = 0;
end_time = atoi(start);
start = end + 1;
- char* end = strchr(start, field_separator);
+ end = strchr(start, field_separator);
if (!end)
continue;
*end = 0;