summaryrefslogtreecommitdiffstats
path: root/server/mpm_common.c
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 /server/mpm_common.c
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 'server/mpm_common.c')
-rw-r--r--server/mpm_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/mpm_common.c b/server/mpm_common.c
index 3f80625e19..56bc70c875 100644
--- a/server/mpm_common.c
+++ b/server/mpm_common.c
@@ -264,7 +264,6 @@ int ap_coredumpdir_configured;
const char *ap_mpm_set_coredumpdir(cmd_parms *cmd, void *dummy,
const char *arg)
{
- apr_status_t rv;
apr_finfo_t finfo;
const char *fname;
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
@@ -277,7 +276,7 @@ const char *ap_mpm_set_coredumpdir(cmd_parms *cmd, void *dummy,
return apr_pstrcat(cmd->pool, "Invalid CoreDumpDirectory path ",
arg, NULL);
}
- if ((rv = apr_stat(&finfo, fname, APR_FINFO_TYPE, cmd->pool)) != APR_SUCCESS) {
+ if (apr_stat(&finfo, fname, APR_FINFO_TYPE, cmd->pool) != APR_SUCCESS) {
return apr_pstrcat(cmd->pool, "CoreDumpDirectory ", fname,
" does not exist", NULL);
}