
trawick at apache
Nov 4, 2009, 5:04 PM
Post #1 of 1
(57 views)
Permalink
|
|
svn commit: r832948 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
|
|
Author: trawick Date: Thu Nov 5 01:04:57 2009 New Revision: 832948 URL: http://svn.apache.org/viewvc?rev=832948&view=rev Log: axe unused, incomplete support for no arg array, hinted at by LLVM scan-build Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c?rev=832948&r1=832947&r2=832948&view=diff ============================================================================== --- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c (original) +++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c Thu Nov 5 01:04:57 2009 @@ -104,10 +104,8 @@ } i = 0; - if (args) { - while (args[i]) { - i++; - } + while (args[i]) { + i++; } /* allocate space for 4 new args, the input args, and a null terminator */ newargs = apr_palloc(p, sizeof(char *) * (i + 4));
|