httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Date Fri, 24 Aug 2001 15:15:57 GMT
stoddard    01/08/24 08:15:57

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  Cleanup a few compile warnings...
  
  Revision  Changes    Path
  1.2       +2 -2      httpd-2.0/modules/experimental/mod_mem_cache.c
  
  Index: mod_mem_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_mem_cache.c	2001/08/23 14:15:00	1.1
  +++ mod_mem_cache.c	2001/08/24 15:15:57	1.2
  @@ -186,7 +186,6 @@
   
   static int create_entity(cache_handle **hp, const char *type, char *key, apr_size_t len)

   {
  -    apr_status_t rv;
       cache_object_t *obj;
       cache_handle *h;
   
  @@ -250,6 +249,8 @@
       apr_lock_acquire(sconf->lock);
       apr_hash_set(sconf->cacheht, obj->key, strlen(obj->key), obj);
       apr_lock_release(sconf->lock);
  +
  +    return OK;
   }
   
   static int open_entity(cache_handle **hp, const char *type, char *key) 
  @@ -362,7 +363,6 @@
   
   static int write_headers(cache_handle *h, request_rec *r, cache_info *info)
   {
  -    apr_size_t len;
       cache_object_t *obj = (cache_object_t*) h->cache_obj;
       if (info->date) {
           obj->info.date = info->date;
  
  
  

Mime
View raw message