From: Jeff Trawick Date: Mon, 28 Jan 2002 00:43:48 +0000 (+0000) Subject: some level of gcc seems to be confused about whether or not X-Git-Tag: 2.0.31~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6115a1ee727fc8d2ffd98793a91aae224509706b;p=thirdparty%2Fapache%2Fhttpd.git some level of gcc seems to be confused about whether or not b is used before being set; shut it up git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93056 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_charset_lite.c b/modules/experimental/mod_charset_lite.c index aad8bcb018e..935de560b08 100644 --- a/modules/experimental/mod_charset_lite.c +++ b/modules/experimental/mod_charset_lite.c @@ -716,7 +716,8 @@ static apr_status_t xlate_brigade(charset_filter_ctx_t *ctx, apr_size_t *buffer_avail, int *hit_eos) { - apr_bucket *b, *consumed_bucket; + apr_bucket *b = NULL; /* set to NULL only to quiet some gcc */ + apr_bucket *consumed_bucket; const char *bucket; apr_size_t bytes_in_bucket; /* total bytes read from current bucket */ apr_size_t bucket_avail; /* bytes left in current bucket */