apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r125405 - /apr/apr/trunk/threadproc/unix/proc.c
Date Mon, 17 Jan 2005 10:31:51 GMT
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");

Mime
View raw message