Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused variable last_update_millis_. #320

Merged
merged 1 commit into from
Jun 2, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions src/build.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;

Expand Down