You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/09/05 17:56:11 UTC

svn commit: r992809 - in /httpd/httpd/trunk/modules/cache: cache_util.c mod_cache.c

Author: sf
Date: Sun Sep  5 15:56:10 2010
New Revision: 992809

URL: http://svn.apache.org/viewvc?rev=992809&view=rev
Log:
remove unused variables

Modified:
    httpd/httpd/trunk/modules/cache/cache_util.c
    httpd/httpd/trunk/modules/cache/mod_cache.c

Modified: httpd/httpd/trunk/modules/cache/cache_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_util.c?rev=992809&r1=992808&r2=992809&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Sun Sep  5 15:56:10 2010
@@ -381,7 +381,7 @@ CACHE_DECLARE(apr_status_t) ap_cache_rem
 }
 
 CACHE_DECLARE(int) ap_cache_check_allowed(request_rec *r) {
-    const char *cc_cresp, *cc_req;
+    const char *cc_req;
     const char *pragma;
     cache_server_conf *conf =
       (cache_server_conf *)ap_get_module_config(r->server->module_config,

Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=992809&r1=992808&r2=992809&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Sun Sep  5 15:56:10 2010
@@ -597,7 +597,6 @@ static int cache_save_filter(ap_filter_t
     char *reason;
     apr_pool_t *p;
     apr_bucket *e;
-    void *data;
 
     conf = (cache_server_conf *) ap_get_module_config(r->server->module_config,
                                                       &cache_module);