From: Alex Rousskov Date: Fri, 9 Jun 2017 16:59:36 +0000 (-0600) Subject: Make GCC v6 happier after r15183. GCC thinks "if (x)" does not use x. X-Git-Tag: M-staged-PR71~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cbbf7178ef00378edf4d1ddf9ee14f83a9dba16;p=thirdparty%2Fsquid.git Make GCC v6 happier after r15183. GCC thinks "if (x)" does not use x. --- diff --git a/src/FwdState.cc b/src/FwdState.cc index 0e9d6cdee9..631bf8e0d8 100644 --- a/src/FwdState.cc +++ b/src/FwdState.cc @@ -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.");