From: Bill Stoddard Date: Fri, 24 Aug 2001 15:15:57 +0000 (+0000) Subject: Cleanup a few compile warnings... X-Git-Tag: 2.0.25~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e04da4c18af1ace67c597463f0c464a0032b45f3;p=apache Cleanup a few compile warnings... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90632 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index 2d2781a1a2..59ebde7155 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -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;