Received: by taz.hyperreal.com (8.8.4/V2.0) id DAA14787; Mon, 10 Feb 1997 03:35:42 -0800 (PST) Received: from twinlark.arctic.org by taz.hyperreal.com (8.8.4/V2.0) with SMTP id DAA14783; Mon, 10 Feb 1997 03:35:40 -0800 (PST) Received: (qmail 18942 invoked by uid 500); 10 Feb 1997 11:35:40 -0000 Date: Mon, 10 Feb 1997 03:35:40 -0800 (PST) From: Dean Gaudet To: Apache Mailing List Subject: Re: [PATCH] PR#162 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com This is weird. When I tested Marc's patch I didn't get any errors from gcc but when Roy committed it I got the obvious: http_core.c: In function `get_remote_host': http_core.c:328: warning: `dir_conf' might be used uninitialized in this function Please commit the following bug fix. Dean Index: http_core.c =================================================================== RCS file: /export/home/cvs/apache/src/http_core.c,v retrieving revision 1.66 diff -c -3 -r1.66 http_core.c *** http_core.c 1997/02/10 10:24:48 1.66 --- http_core.c 1997/02/10 11:34:13 *************** *** 310,316 **** #ifdef MAXIMUM_DNS char **haddr; #endif ! core_dir_config *dir_conf; /* If we haven't checked the host name, and we want to */ if (dir_config) --- 325,331 ---- #ifdef MAXIMUM_DNS char **haddr; #endif ! core_dir_config *dir_conf = NULL; /* If we haven't checked the host name, and we want to */ if (dir_config)