]> granicus.if.org Git - apache/commitdiff
Cleanup a few compile warnings...
authorBill Stoddard <stoddard@apache.org>
Fri, 24 Aug 2001 15:15:57 +0000 (15:15 +0000)
committerBill Stoddard <stoddard@apache.org>
Fri, 24 Aug 2001 15:15:57 +0000 (15:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90632 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index 2d2781a1a22124ecb596f4d600d981fc1246bf4e..59ebde715590241eac35d275c636367c5959daac 100644 (file)
@@ -186,7 +186,6 @@ static void *create_cache_config(apr_pool_t *p, server_rec *s)
 
 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 @@ static int create_entity(cache_handle **hp, const char *type, char *key, apr_siz
     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 read_body(cache_handle *h, apr_bucket_brigade *bb)
 
 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;