]> granicus.if.org Git - apache/commitdiff
Fix a compilation warning introduced by r1802040.
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 19 Aug 2017 07:42:16 +0000 (07:42 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 19 Aug 2017 07:42:16 +0000 (07:42 +0000)
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

modules/proxy/mod_proxy_fcgi.c

index 019f4a93354132aab538766fea79ea9db67535d9..80c89381c0c21547db037926f11409ff37024256 100644 (file)
@@ -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];