]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Vector::pop_back returns void now; don't save the old value
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 6 Feb 2014 14:14:36 +0000 (15:14 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 6 Feb 2014 14:14:36 +0000 (15:14 +0100)
src/base/Vector.h

index 3e9207017b541b64592f4dbc2398c62dd9abca5e..96b661fc7c24d2c1501d2f8f026f8a1578a3fdcd 100644 (file)
@@ -247,7 +247,7 @@ void
 Vector<E>::pop_back()
 {
     assert (size());
-    value_type result = items[--count];
+    --count;
     items[count] = value_type();
 }