diff options
author | Nico Weber <thakis@chromium.org> | 2012-06-01 20:50:39 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2012-06-01 20:50:39 (GMT) |
commit | a2f3d6cb02eb8a413a37830464d9052160c5b901 (patch) | |
tree | 12b2d697cf056ca8165c09cad1c0fcceb6e12ffb /src | |
parent | b6664431cb5275389d6e25d5e29c67796b7281e7 (diff) | |
download | Ninja-a2f3d6cb02eb8a413a37830464d9052160c5b901.zip Ninja-a2f3d6cb02eb8a413a37830464d9052160c5b901.tar.gz Ninja-a2f3d6cb02eb8a413a37830464d9052160c5b901.tar.bz2 |
Remove unused variable last_update_millis_.
Diffstat (limited to 'src')
-rw-r--r-- | src/build.cc | 2 | ||||
-rw-r--r-- | src/build.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/build.cc b/src/build.cc index 157442d..3d57b2d 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 { diff --git a/src/build.h b/src/build.h index 5dcdb5b..451c534 100644 --- a/src/build.h +++ b/src/build.h @@ -175,8 +175,6 @@ struct BuildStatus { /// Time the build started. int64_t start_time_millis_; - /// Time we last printed an update. - int64_t last_update_millis_; int started_edges_, finished_edges_, total_edges_; |