You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mt...@apache.org on 2005/01/17 11:31:51 UTC

svn commit: r125405 - /apr/apr/trunk/threadproc/unix/proc.c

Author: mturk
Date: Mon Jan 17 02:31:49 2005
New Revision: 125405

URL: http://svn.apache.org/viewcvs?view=rev&rev=125405
Log:
Remove unused variable declarations.
Modified:
   apr/apr/trunk/threadproc/unix/proc.c

Modified: apr/apr/trunk/threadproc/unix/proc.c
Url: http://svn.apache.org/viewcvs/apr/apr/trunk/threadproc/unix/proc.c?view=diff&rev=125405&p1=apr/apr/trunk/threadproc/unix/proc.c&r1=125404&p2=apr/apr/trunk/threadproc/unix/proc.c&r2=125405
==============================================================================
--- apr/apr/trunk/threadproc/unix/proc.c	(original)
+++ apr/apr/trunk/threadproc/unix/proc.c	Mon Jan 17 02:31:49 2005
@@ -418,7 +418,6 @@
 
         /* 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 @@
         }
 
         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");