]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
We never call this function with 'nothing to do', however we aught to quiet
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 20 Sep 2005 20:47:57 +0000 (20:47 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 20 Sep 2005 20:47:57 +0000 (20:47 +0000)
  gcc 4's assumption that we can 'return status;' without having performed
  any operation that sets status.

Reported by: jorton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@290558 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_http.c

index 38c47245773b37266660445a1b3e1f8c7898aaca..225b7011b4eb53c1977975e232556c098a6b0376 100644 (file)
@@ -566,7 +566,7 @@ static apr_status_t stream_reqbody_cl(apr_pool_t *p,
                                       const char *old_cl_val)
 {
     int seen_eos = 0;
-    apr_status_t status;
+    apr_status_t status = APR_SUCCESS;
     apr_bucket_alloc_t *bucket_alloc = r->connection->bucket_alloc;
     apr_bucket_brigade *bb;
     apr_bucket *e;