httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_disk_cache.c
Date Thu, 30 May 2002 16:34:39 GMT
ianh        02/05/30 09:34:39

  Modified:    modules/experimental mod_disk_cache.c
  Log:
  clear up some warnings about unused variables
  
  Revision  Changes    Path
  1.35      +14 -9     httpd-2.0/modules/experimental/mod_disk_cache.c
  
  Index: mod_disk_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_disk_cache.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- mod_disk_cache.c	23 May 2002 14:56:11 -0000	1.34
  +++ mod_disk_cache.c	30 May 2002 16:34:38 -0000	1.35
  @@ -434,8 +434,6 @@
   
   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 @@
       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
   *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
   *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
   *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[] =
  
  
  

Mime
View raw message