]> granicus.if.org Git - apache/commitdiff
* modules/experimental/mod_mem_cache.c (decrement_refcount,
authorJoe Orton <jorton@apache.org>
Fri, 9 Jan 2004 17:24:23 +0000 (17:24 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 9 Jan 2004 17:24:23 +0000 (17:24 +0000)
remove_entity): Fix "unused variable" warnings introduced in r1.102.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102245 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index d717cc11a461c5916703eed9d097ea8719d6a32a..01da49a31c48188e8984df2b9fa2deed4c541685 100644 (file)
@@ -336,7 +336,6 @@ static apr_status_t decrement_refcount(void *arg)
      * 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 @@ static int remove_entity(cache_handle_t *h)
      * 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");