]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make GCC v6 happier after r15183. GCC thinks "if (x)" does not use x.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Jun 2017 16:59:36 +0000 (10:59 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Jun 2017 16:59:36 +0000 (10:59 -0600)
src/FwdState.cc

index 0e9d6cdee95d3a2edff384d6e99fa7e78b9a76fe..631bf8e0d897013eb95c48470a821b71ced8b7fa 100644 (file)
@@ -563,7 +563,7 @@ void
 FwdState::noteDestinationsEnd(ErrorState *selectionError)
 {
     PeerSelectionInitiator::subscribed = false;
-    if (const bool wasBlocked = serverDestinations.empty()) {
+    if (serverDestinations.empty()) { // was blocked, waiting for more paths
 
         if (selectionError) {
             debugs(17, 3, "Will abort forwarding because path selection has failed.");