summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/build.cc2
-rw-r--r--src/build.h2
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_;