From 12d00dce295b7f308f580b39c2b3a7bc080ad921 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Wed, 21 Mar 2018 06:12:20 -0700 Subject: [PATCH] blaze.cc: Remove unused had_to_wait variable Closes #4851. PiperOrigin-RevId: 189897065 --- src/main/cpp/blaze.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc index b495e7b952e1c2..dc98060e751e3e 100644 --- a/src/main/cpp/blaze.cc +++ b/src/main/cpp/blaze.cc @@ -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)); @@ -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);