diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2019-04-17 16:04:28 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2019-04-17 16:04:54 (GMT) |
commit | 71b96489325e5e2629464687c60f20d9905ab51c (patch) | |
tree | 8ab2373f170b346ebd018c8e70ff43699b29f716 /src/deps_log.cc | |
parent | b344c799788426b3b26eabcbef5728955e8e2703 (diff) | |
download | Ninja-71b96489325e5e2629464687c60f20d9905ab51c.zip Ninja-71b96489325e5e2629464687c60f20d9905ab51c.tar.gz Ninja-71b96489325e5e2629464687c60f20d9905ab51c.tar.bz2 |
Remove trailing whitespace from all files
Diffstat (limited to 'src/deps_log.cc')
-rw-r--r-- | src/deps_log.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc index 0bb96f3..4aaffeb 100644 --- a/src/deps_log.cc +++ b/src/deps_log.cc @@ -48,7 +48,7 @@ bool DepsLog::OpenForWrite(const string& path, string* err) { if (!Recompact(path, err)) return false; } - + file_ = fopen(path.c_str(), "ab"); if (!file_) { *err = strerror(errno); @@ -331,7 +331,7 @@ bool DepsLog::Recompact(const string& path, string* err) { // will refer to the ordering in new_log, not in the current log. for (vector<Node*>::iterator i = nodes_.begin(); i != nodes_.end(); ++i) (*i)->set_id(-1); - + // Write out all deps again. for (int old_id = 0; old_id < (int)deps_.size(); ++old_id) { Deps* deps = deps_[old_id]; |