]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix for Bug 2619 patch: variable 'consumedPartially' set but not used
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 19 Nov 2011 09:13:07 +0000 (11:13 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 19 Nov 2011 09:13:07 +0000 (11:13 +0200)
src/Server.cc

index 68c500815acf5976f4e331a62cb035c1e64bc7c9..f88c84946e4cdcd12d56a9eb27e8d1f57dc921c5 100644 (file)
@@ -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 " <<