Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 63707 invoked from network); 10 Oct 2004 15:29:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Oct 2004 15:29:18 -0000 Received: (qmail 92167 invoked by uid 500); 10 Oct 2004 15:29:18 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 92074 invoked by uid 500); 10 Oct 2004 15:29:17 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 92060 invoked by uid 500); 10 Oct 2004 15:29:17 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 92056 invoked by uid 99); 10 Oct 2004 15:29:16 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 10 Oct 2004 08:29:16 -0700 Received: (qmail 63684 invoked by uid 1569); 10 Oct 2004 15:29:15 -0000 Date: 10 Oct 2004 15:29:15 -0000 Message-ID: <20041010152915.63683.qmail@minotaur.apache.org> From: nd@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/experimental mod_cache.c X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N nd 2004/10/10 08:29:15 Modified: modules/experimental mod_cache.c Log: the compiler warns about possibly uninitialized values. He may be right. Revision Changes Path 1.93 +2 -2 httpd-2.0/modules/experimental/mod_cache.c Index: mod_cache.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_cache.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -u -r1.92 -r1.93 --- mod_cache.c 28 Sep 2004 17:37:54 -0000 1.92 +++ mod_cache.c 10 Oct 2004 15:29:15 -0000 1.93 @@ -249,7 +249,7 @@ static int cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in) { - int rv; + int rv = !OK; int date_in_errhdr = 0; request_rec *r = f->r; cache_request_rec *cache; @@ -259,7 +259,7 @@ const char *exps, *lastmods, *dates, *etag; apr_time_t exp, date, lastmod, now; apr_off_t size; - cache_info *info; + cache_info *info = NULL; char *reason; apr_pool_t *p;