diff options
author | mturk <mturk@13f79535-47bb-0310-9956-ffa450edef68> | 2005-01-17 10:31:49 +0000 |
---|---|---|
committer | mturk <mturk@13f79535-47bb-0310-9956-ffa450edef68> | 2005-01-17 10:31:49 +0000 |
commit | 1819a003095e99c533f3e0003352cef0d88cd0c3 (patch) | |
tree | 70357c84bab423011628543cef904b03ec799cec | |
parent | 6489c816b5a63e87891fc62834802468056858d6 (diff) | |
download | libapr-1819a003095e99c533f3e0003352cef0d88cd0c3.tar.gz |
Remove unused variable declarations.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125405 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | threadproc/unix/proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c index 45e967614..f6773b140 100644 --- a/threadproc/unix/proc.c +++ b/threadproc/unix/proc.c @@ -418,7 +418,6 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, /* Only try to switch if we are running as root */ if (attr->gid != -1 && !geteuid()) { - apr_status_t rv; if ((status = setgid(attr->gid))) { if (attr->errfn) { attr->errfn(pool, errno, "setting of group failed"); @@ -428,7 +427,6 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new, } if (attr->uid != -1 && !geteuid()) { - apr_status_t rv; if ((status = setuid(attr->uid))) { if (attr->errfn) { attr->errfn(pool, errno, "setting of user failed"); |