From: Ian Holsman Date: Thu, 30 May 2002 16:34:38 +0000 (+0000) Subject: clear up some warnings about unused variables X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72e886dcca86346701f637057e5c143ba81d1582;p=apache clear up some warnings about unused variables git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95404 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c index bd4a4f855a..dcc081eab3 100644 --- a/modules/experimental/mod_disk_cache.c +++ b/modules/experimental/mod_disk_cache.c @@ -434,8 +434,6 @@ static int remove_url(const char *type, char *key) static int remove_entity(cache_handle_t *h) { - cache_object_t *obj = h->cache_obj; - /* Null out the cache object pointer so next time we start from scratch */ h->cache_obj = NULL; return OK; @@ -607,7 +605,6 @@ static apr_status_t write_body(cache_handle_t *h, request_rec *r, apr_bucket_bri apr_bucket *e; apr_status_t rv; disk_cache_object_t *dobj = (disk_cache_object_t *) h->cache_obj->vobj; - cache_info *info = &(h->cache_obj->info); if (!dobj->fd) { rv = apr_file_open(&dobj->fd, dobj->tempfile, @@ -674,8 +671,10 @@ static const char static const char *set_cache_gcint(cmd_parms *parms, void *in_struct_ptr, const char *arg) { +/* disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); +*/ /* XXX */ return NULL; } @@ -715,9 +714,10 @@ static const char static const char *set_cache_exchk(cmd_parms *parms, void *in_struct_ptr, int flag) { + /* XXX disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); - /* XXX */ + */ return NULL; } static const char @@ -739,41 +739,46 @@ static const char static const char *set_cache_minetm(cmd_parms *parms, void *in_struct_ptr, const char *arg) { + /* XXX disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); - /* XXX */ + */ return NULL; } static const char *set_cache_gctime(cmd_parms *parms, void *in_struct_ptr, const char *arg) { + /* XXX disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); - /* XXX */ + */ return NULL; } static const char *add_cache_gcclean(cmd_parms *parms, void *in_struct_ptr, const char *arg, const char *arg1) { + /* XXX disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); - /* XXX */ + */ return NULL; } static const char *add_cache_gcclnun(cmd_parms *parms, void *in_struct_ptr, const char *arg, const char *arg1) { + /* XXX disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); - /* XXX */ + */ return NULL; } static const char *set_cache_maxgcmem(cmd_parms *parms, void *in_struct_ptr, const char *arg) { + /* XXX disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, &disk_cache_module); - /* XXX */ + */ return NULL; } static const command_rec disk_cache_cmds[] =