]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
These pointers should be initialized. Not all compilers initialize them
authorwessels <>
Fri, 21 Apr 2006 23:31:49 +0000 (23:31 +0000)
committerwessels <>
Fri, 21 Apr 2006 23:31:49 +0000 (23:31 +0000)
to NULLs automatically.

src/ICAP/ICAPOptions.cc

index 766174ac7f7b9c60380b0b51c1dbba462827bac0..b9486c4acf9823b3e8d00fabb32978eb6b6ac4a5 100644 (file)
@@ -90,8 +90,8 @@ List<String> *ICAPOptions::parseExtFileList(const char *start, const char *end,
     int ilen;
     String t = NULL;
 
-    List<String> **Tail;
-    List<String> *H;
+    List<String> **Tail = NULL;
+    List<String> *H = NULL;
 
     for (Tail = &H; *Tail; Tail = &((*Tail)->next))