You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/10/29 09:27:01 UTC
svn commit: r708823 - /httpd/httpd/trunk/modules/generators/mod_cgid.c
Author: pquerna
Date: Wed Oct 29 01:27:01 2008
New Revision: 708823
URL: http://svn.apache.org/viewvc?rev=708823&view=rev
Log:
* modules/generators/mod_cgid.c
(cgid_server): Fix warning: 'env' and 'argv0' may be used uninitialized in
this function.
Modified:
httpd/httpd/trunk/modules/generators/mod_cgid.c
Modified: httpd/httpd/trunk/modules/generators/mod_cgid.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?rev=708823&r1=708822&r2=708823&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_cgid.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_cgid.c Wed Oct 29 01:27:01 2008
@@ -634,8 +634,8 @@
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;