From: Justin Erenkrantz Date: Mon, 3 Sep 2001 22:09:15 +0000 (+0000) Subject: Fix uninitialized variable warning. (This was a bug.) X-Git-Tag: 2.0.26~333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b283563a76656384f254e611567aa61b49aef85c;p=apache Fix uninitialized variable warning. (This was a bug.) Submitted by: Cliff's compiler (warning) and Brian Pane (fix) Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90885 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 52fe162a1f..db8e24c32e 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -242,11 +242,10 @@ static apr_bucket *find_start_sequence(apr_bucket *dptr, include_ctx_t *ctx, } if (ctx->output_now) { - apr_size_t start_index; apr_bucket *start_bucket; if (ctx->head_start_index > 0) { start_bucket = ctx->head_start_bucket; - apr_bucket_split(start_bucket, start_index); + apr_bucket_split(start_bucket, ctx->head_start_index); start_bucket = APR_BUCKET_NEXT(start_bucket); ctx->head_start_index = 0; ctx->head_start_bucket = start_bucket;