httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1805490 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Sat, 19 Aug 2017 07:42:16 GMT
Author: jailletc36
Date: Sat Aug 19 07:42:16 2017
New Revision: 1805490

URL: http://svn.apache.org/viewvc?rev=1805490&view=rev
Log:
Fix a compilation warning introduced by r1802040.
mod_proxy_fcgi.c:893:19: warning: ‘flushpoll’ may be used uninitialized in this function
[-Wmaybe-uninitialized]

This warning is a false positive.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=1805490&r1=1805489&r2=1805490&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Sat Aug 19 07:42:16 2017
@@ -532,7 +532,7 @@ static apr_status_t dispatch(proxy_conn_
     ap_fcgi_header header;
     unsigned char farray[AP_FCGI_HEADER_LEN];
     apr_pollfd_t pfd;
-    apr_pollfd_t *flushpoll;
+    apr_pollfd_t *flushpoll = NULL;
     apr_int32_t flushpoll_fd;
     int header_state = HDR_STATE_READING_HEADERS;
     char stack_iobuf[AP_IOBUFSIZE];



Mime
View raw message