]> granicus.if.org Git - apache/commitdiff
* Fix 'may be used uninitialized in this function' compiler warning.
authorRuediger Pluem <rpluem@apache.org>
Sun, 4 Oct 2009 12:21:29 +0000 (12:21 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sun, 4 Oct 2009 12:21:29 +0000 (12:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821526 13f79535-47bb-0310-9956-ffa450edef68

server/core_filters.c

index 53a02698a65a13095a6c63cd2ec19d4e662b40d9..f2c912062a22fa09f08c919bb1454f47fe97e3a3 100644 (file)
@@ -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) {