httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1725472 - /httpd/httpd/trunk/server/mpm/motorz/motorz.c
Date Tue, 19 Jan 2016 11:30:42 GMT
Author: rjung
Date: Tue Jan 19 11:30:42 2016
New Revision: 1725472

URL: http://svn.apache.org/viewvc?rev=1725472&view=rev
Log:
Silence compiler warning:
'free_slots$' may be used uninitialized in this function

Modified:
    httpd/httpd/trunk/server/mpm/motorz/motorz.c

Modified: httpd/httpd/trunk/server/mpm/motorz/motorz.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/motorz/motorz.c?rev=1725472&r1=1725471&r2=1725472&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/motorz/motorz.c (original)
+++ httpd/httpd/trunk/server/mpm/motorz/motorz.c Tue Jan 19 11:30:42 2016
@@ -1159,6 +1159,7 @@ static void perform_idle_server_maintena
 
     int active = 0;
     free_length = 0;
+    free_slots[0] = 0;
 
     for (i = 0; i < ap_daemons_limit; ++i) {
         int status;



Mime
View raw message