httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Date Fri, 09 Jan 2004 17:24:23 GMT
jorton      2004/01/09 09:24:23

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  * modules/experimental/mod_mem_cache.c (decrement_refcount,
  remove_entity): Fix "unused variable" warnings introduced in r1.102.
  
  Revision  Changes    Path
  1.105     +0 -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.104
  retrieving revision 1.105
  diff -b -d -u -r1.104 -r1.105
  --- mod_mem_cache.c	9 Jan 2004 17:00:20 -0000	1.104
  +++ mod_mem_cache.c	9 Jan 2004 17:24:23 -0000	1.105
  @@ -336,7 +336,6 @@
        * object needs to be removed from the cache then cleaned up.
        */
       if (!obj->complete) {
  -        mem_cache_object_t *mobj = (mem_cache_object_t *) obj->vobj;
           if (sconf->lock) {
               apr_thread_mutex_lock(sconf->lock);
           }
  @@ -646,7 +645,6 @@
        * hash table.
        */
       if (!obj->cleanup) {
  -        mem_cache_object_t *mobj = (mem_cache_object_t *) obj->vobj;
           cache_remove(sconf->cache_cache, obj);
           obj->cleanup = 1;
           ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "gcing a cache entry");
  
  
  

Mime
View raw message