]> granicus.if.org Git - apache/commitdiff
some level of gcc seems to be confused about whether or not
authorJeff Trawick <trawick@apache.org>
Mon, 28 Jan 2002 00:43:48 +0000 (00:43 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 28 Jan 2002 00:43:48 +0000 (00:43 +0000)
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

modules/experimental/mod_charset_lite.c

index aad8bcb018eda6510f119b199da03158a15d2df2..935de560b084ac309095f7f59cb02684dde584be 100644 (file)
@@ -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 */