]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bugfix: Uninitialized variable (trapped by GCC)
authorhno <>
Sat, 6 Apr 2002 22:24:41 +0000 (22:24 +0000)
committerhno <>
Sat, 6 Apr 2002 22:24:41 +0000 (22:24 +0000)
src/mem.cc

index 9dd694a01154626e11fb214bc96dccaa8bece6c0..0d91386b2b09380f6512c99edeae7a64e8355156 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mem.cc,v 1.63 2002/04/06 08:49:27 adrian Exp $
+ * $Id: mem.cc,v 1.64 2002/04/06 15:24:41 hno Exp $
  *
  * DEBUG: section 13    High Level Memory Pool Management
  * AUTHOR: Harvest Derived
@@ -517,7 +517,7 @@ memFreeBufFunc(size_t size)
 static void
 memPoolReport(const MemPoolStats * mp_st, const MemPoolMeter * AllMeter, StoreEntry * e)
 {
-    int excess;
+    int excess = 0;
     int needed = 0;
     MemPoolMeter *pm = mp_st->meter;