diff options
author | Evan Martin <martine@danga.com> | 2012-06-02 17:20:09 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-06-02 17:20:09 (GMT) |
commit | 28196d9abc5d75cfad681d5ac99c566d9c2d1e0d (patch) | |
tree | 99386b1ff0ecf9299af019f66a0b8db556091642 /src/build.cc | |
parent | b4412fb6576250da01a3b1071b17a3e353d33811 (diff) | |
parent | a2f3d6cb02eb8a413a37830464d9052160c5b901 (diff) | |
download | Ninja-28196d9abc5d75cfad681d5ac99c566d9c2d1e0d.zip Ninja-28196d9abc5d75cfad681d5ac99c566d9c2d1e0d.tar.gz Ninja-28196d9abc5d75cfad681d5ac99c566d9c2d1e0d.tar.bz2 |
Merge pull request #320 from nico/cleanup
Remove unused variable last_update_millis_.
Diffstat (limited to 'src/build.cc')
-rw-r--r-- | src/build.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/build.cc b/src/build.cc index a15f874..9e3dd6f 100644 --- a/src/build.cc +++ b/src/build.cc @@ -36,7 +36,6 @@ BuildStatus::BuildStatus(const BuildConfig& config) : config_(config), start_time_millis_(GetTimeMillis()), - last_update_millis_(start_time_millis_), started_edges_(0), finished_edges_(0), total_edges_(0), have_blank_line_(true), progress_status_format_(NULL) { #ifndef _WIN32 @@ -99,7 +98,6 @@ void BuildStatus::BuildEdgeFinished(Edge* edge, if (total_time > 5*1000) { printf("%.1f%% %d/%d\n", finished_edges_ * 100 / (float)total_edges_, finished_edges_, total_edges_); - last_update_millis_ = now; } } } else { |