From: Paul Querna Date: Wed, 29 Oct 2008 08:27:01 +0000 (+0000) Subject: * modules/generators/mod_cgid.c X-Git-Tag: 2.3.0~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1575e49015565b5bf0030483664874fda0725cd;p=thirdparty%2Fapache%2Fhttpd.git * modules/generators/mod_cgid.c (cgid_server): Fix warning: 'env' and 'argv0' may be used uninitialized in this function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708823 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 356aa7d5845..29f38b9ae71 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -634,8 +634,8 @@ static int cgid_server(void *data) while (!daemon_should_exit) { int errfileno = STDERR_FILENO; - char *argv0; - char **env; + char *argv0 = NULL; + char **env = NULL; const char * const *argv; apr_int32_t in_pipe; apr_int32_t out_pipe;