From ba98516fe565c5c4631fadbc191d78a23f9ae97d Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Fri, 9 Jun 2017 12:19:00 -0600 Subject: [PATCH] Make GCC v6 happier after r15183. GCC thinks "if (x)" does not use x. Same as r15186 but applied to tunnel.cc now. I hate code duplication. --- src/tunnel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tunnel.cc b/src/tunnel.cc index c50bf70a9c..42001ea784 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -1220,7 +1220,7 @@ void TunnelStateData::noteDestinationsEnd(ErrorState *selectionError) { PeerSelectionInitiator::subscribed = false; - if (const bool wasBlocked = serverDestinations.empty()) { + if (serverDestinations.empty()) { // was blocked, waiting for more paths if (selectionError) return sendError(selectionError, "path selection has failed"); -- 2.47.2