From: wessels <> Date: Fri, 21 Apr 2006 23:31:49 +0000 (+0000) Subject: These pointers should be initialized. Not all compilers initialize them X-Git-Tag: SQUID_3_0_PRE4~258 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86c570cfec37866114998b9affdc0b4961e08529;p=thirdparty%2Fsquid.git These pointers should be initialized. Not all compilers initialize them to NULLs automatically. --- diff --git a/src/ICAP/ICAPOptions.cc b/src/ICAP/ICAPOptions.cc index 766174ac7f..b9486c4acf 100644 --- a/src/ICAP/ICAPOptions.cc +++ b/src/ICAP/ICAPOptions.cc @@ -90,8 +90,8 @@ List *ICAPOptions::parseExtFileList(const char *start, const char *end, int ilen; String t = NULL; - List **Tail; - List *H; + List **Tail = NULL; + List *H = NULL; for (Tail = &H; *Tail; Tail = &((*Tail)->next))