From b283563a76656384f254e611567aa61b49aef85c Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Mon, 3 Sep 2001 22:09:15 +0000 Subject: [PATCH] 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 --- modules/filters/mod_include.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.50.1