summaryrefslogtreecommitdiffstats
path: root/modules/slotmem
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-08-04 00:12:19 +0200
committerStefan Fritsch <sf@apache.org>2010-08-04 00:12:19 +0200
commita527986832e89ad468e4288508374d890b117df3 (patch)
treede90f9ad2c54a41dfab77e13fb17b95f4bd27a5e /modules/slotmem
parentremove more useless use of strlen (diff)
downloadapache2-a527986832e89ad468e4288508374d890b117df3.tar.xz
apache2-a527986832e89ad468e4288508374d890b117df3.zip
remove more unused variables
revove some obsolete comments netware file is untested git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/slotmem')
-rw-r--r--modules/slotmem/mod_slotmem_shm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/slotmem/mod_slotmem_shm.c b/modules/slotmem/mod_slotmem_shm.c
index e4226a6dce..92c011e9ef 100644
--- a/modules/slotmem/mod_slotmem_shm.c
+++ b/modules/slotmem/mod_slotmem_shm.c
@@ -184,7 +184,6 @@ static void restore_slotmem(void *ptr, const char *name, apr_size_t size,
static apr_status_t cleanup_slotmem(void *param)
{
ap_slotmem_instance_t **mem = param;
- apr_status_t rv;
apr_pool_t *pool = NULL;
if (*mem) {
@@ -192,7 +191,7 @@ static apr_status_t cleanup_slotmem(void *param)
pool = next->gpool;
while (next) {
store_slotmem(next);
- rv = apr_shm_destroy((apr_shm_t *)next->shm);
+ apr_shm_destroy((apr_shm_t *)next->shm);
next = next->next;
}
apr_pool_destroy(pool);