From 51d5fc6cd0045c453b9b30ef1d6ec455037e3abd Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Sun, 4 Oct 2009 12:21:29 +0000 Subject: [PATCH] * Fix 'may be used uninitialized in this function' compiler warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821526 13f79535-47bb-0310-9956-ffa450edef68 --- server/core_filters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core_filters.c b/server/core_filters.c index 53a02698a6..f2c912062a 100644 --- a/server/core_filters.c +++ b/server/core_filters.c @@ -356,7 +356,7 @@ apr_status_t ap_core_output_filter(ap_filter_t *f, apr_bucket_brigade *new_bb) conn_rec *c = f->c; core_net_rec *net = f->ctx; core_output_filter_ctx_t *ctx = net->out_ctx; - apr_bucket_brigade *bb; + apr_bucket_brigade *bb = NULL; apr_bucket *bucket, *next; apr_size_t bytes_in_brigade, non_file_bytes_in_brigade; apr_status_t rv; @@ -392,7 +392,7 @@ apr_status_t ap_core_output_filter(ap_filter_t *f, apr_bucket_brigade *new_bb) } bb = new_bb; } - + if ((ctx->buffered_bb != NULL) && !APR_BRIGADE_EMPTY(ctx->buffered_bb)) { if (new_bb != NULL) { -- 2.50.1