Commit 74453680 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

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
parent b195579e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;