You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2001/08/24 17:15:57 UTC
cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
stoddard 01/08/24 08:15:57
Modified: modules/experimental mod_mem_cache.c
Log:
Cleanup a few compile warnings...
Revision Changes Path
1.2 +2 -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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_mem_cache.c 2001/08/23 14:15:00 1.1
+++ mod_mem_cache.c 2001/08/24 15:15:57 1.2
@@ -186,7 +186,6 @@
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 @@
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 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;