From: Francesco Chemolli Date: Thu, 6 Feb 2014 14:14:36 +0000 (+0100) Subject: Vector::pop_back returns void now; don't save the old value X-Git-Tag: SQUID_3_5_0_1~379^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87cae604f2ccd5c2821124a18e3dac0fa5d0a6ca;p=thirdparty%2Fsquid.git Vector::pop_back returns void now; don't save the old value --- diff --git a/src/base/Vector.h b/src/base/Vector.h index 3e9207017b..96b661fc7c 100644 --- a/src/base/Vector.h +++ b/src/base/Vector.h @@ -247,7 +247,7 @@ void Vector::pop_back() { assert (size()); - value_type result = items[--count]; + --count; items[count] = value_type(); }