Skip to content

Commit

Permalink
blaze.cc: Remove unused had_to_wait variable
Browse files Browse the repository at this point in the history
Closes bazelbuild#4851.

PiperOrigin-RevId: 189897065
  • Loading branch information
davido authored and Copybara-Service committed Mar 21, 2018
1 parent 9f7c898 commit 12d00dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/cpp/blaze.cc
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,6 @@ static void StartServerAndConnect(const WorkspaceLayout *workspace_layout,
// debugger.
auto try_until_time(std::chrono::system_clock::now() +
std::chrono::seconds(120));
bool had_to_wait = false;
while (std::chrono::system_clock::now() < try_until_time) {
auto next_attempt_time(std::chrono::system_clock::now() +
std::chrono::milliseconds(100));
Expand All @@ -852,7 +851,6 @@ static void StartServerAndConnect(const WorkspaceLayout *workspace_layout,
return;
}

had_to_wait = true;
if (!globals->options->client_debug) {
fputc('.', stderr);
fflush(stderr);
Expand Down

0 comments on commit 12d00dc

Please sign in to comment.