From: Christophe Jaillet Date: Sat, 19 Aug 2017 07:42:16 +0000 (+0000) Subject: Fix a compilation warning introduced by r1802040. X-Git-Tag: 2.5.0-alpha~189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a2cce3163f441390ef6d97fef25e4ad9687af34;p=apache 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805490 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index 019f4a9335..80c89381c0 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -532,7 +532,7 @@ static apr_status_t dispatch(proxy_conn_rec *conn, proxy_dir_conf *conf, 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];