From: Christos Tsantilas Date: Sat, 19 Nov 2011 09:13:07 +0000 (+0200) Subject: Fix for Bug 2619 patch: variable 'consumedPartially' set but not used X-Git-Tag: BumpSslServerFirst.take01~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d49b5035893c79c1ad75ab9a1fbb1242c4ed5f4;p=thirdparty%2Fsquid.git Fix for Bug 2619 patch: variable 'consumedPartially' set but not used --- diff --git a/src/Server.cc b/src/Server.cc index 68c500815a..f88c84946e 100644 --- a/src/Server.cc +++ b/src/Server.cc @@ -729,7 +729,6 @@ ServerStateData::handleMoreAdaptedBodyAvailable() assert(entry); size_t contentSize = adaptedBodySource->buf().contentSize(); - bool consumedPartially = false; if (!contentSize) return; // XXX: bytesWanted asserts on zero-size ranges @@ -758,7 +757,6 @@ ServerStateData::handleMoreAdaptedBodyAvailable() debugs(11, 5, HERE << "postponing storage of " << (contentSize - spaceAvailable) << " body bytes"); contentSize = spaceAvailable; - consumedPartially=true; } debugs(11,5, HERE << "storing " << contentSize << " bytes of adapted " <<