diff options
Diffstat (limited to 'src/build_log.cc')
-rw-r--r-- | src/build_log.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/build_log.cc b/src/build_log.cc index 774f72f..c4a08a0 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -49,7 +49,6 @@ namespace { const char kFileSignature[] = "# ninja log v%d\n"; -const char kFileColumnLabels[] = "# start_time end_time mtime command hash\n"; const int kOldestSupportedVersion = 4; const int kCurrentVersion = 5; @@ -145,8 +144,7 @@ bool BuildLog::OpenForWrite(const string& path, const BuildLogUser& user, fseek(log_file_, 0, SEEK_END); if (ftell(log_file_) == 0) { - if (fprintf(log_file_, kFileSignature, kCurrentVersion) < 0 || - fprintf(log_file_, kFileColumnLabels) < 0) { + if (fprintf(log_file_, kFileSignature, kCurrentVersion) < 0) { *err = strerror(errno); return false; } |