From: Jeff Trawick Date: Mon, 11 Nov 2002 21:08:26 +0000 (+0000) Subject: can't mix declarations and statements except with gcc 3.2 :) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f40cc20068972fe58741363cb552da7e40334da;p=apache can't mix declarations and statements except with gcc 3.2 :) (or possibly RedHat 8's patches to it) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97488 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 0738c098b6..ebd94f26e7 100644 --- a/server/core.c +++ b/server/core.c @@ -3690,9 +3690,6 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) apr_bucket *last_e = NULL; /* initialized for debugging */ apr_bucket *e; - /* tail of brigade if we need another pass */ - more = NULL; - /* one group of iovecs per pass over the brigade */ apr_size_t nvec = 0; apr_size_t nvec_trailers = 0; @@ -3709,6 +3706,9 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) */ apr_bucket *last_merged_bucket = NULL; + /* tail of brigade if we need another pass */ + more = NULL; + /* Iterate over the brigade: collect iovecs and/or a file */ APR_BRIGADE_FOREACH(e, b) { /* keep track of the last bucket processed */