]> granicus.if.org Git - apache/commitdiff
Silence compiler warning:
authorRainer Jung <rjung@apache.org>
Fri, 18 Jul 2014 11:39:11 +0000 (11:39 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 18 Jul 2014 11:39:11 +0000 (11:39 +0000)
mod_authnz_fcgi.c:580:44: warning: 'orspbuflen'
may be used uninitialized in this function.

Not true but annoying.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611600 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authnz_fcgi.c

index 673b0e774d9b0b1fc51361232e769835191b95fb..5e4a9378500ac7d91a00ac34b2b2f27f79774011 100644 (file)
@@ -472,7 +472,7 @@ static apr_status_t handle_response(const fcgi_provider_conf *conf,
 {
     apr_bucket *b;
     apr_bucket_brigade *ob;
-    apr_size_t orspbuflen;
+    apr_size_t orspbuflen = 0;
     apr_status_t rv = APR_SUCCESS;
     const char *fn = "handle_response";
     int header_state = HDR_STATE_READING_HEADERS;