httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r832948 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
Date Thu, 05 Nov 2009 01:04:58 GMT
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));



Mime
View raw message