httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_cache.c
Date Sun, 10 Oct 2004 15:29:15 GMT
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;
   
  
  
  

Mime
View raw message