Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 23724 invoked from network); 17 Jan 2005 10:32:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jan 2005 10:32:00 -0000 Received: (qmail 91926 invoked by uid 500); 17 Jan 2005 10:31:55 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 91780 invoked by uid 500); 17 Jan 2005 10:31:54 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list commits@apr.apache.org Received: (qmail 91714 invoked by uid 99); 17 Jan 2005 10:31:53 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 17 Jan 2005 02:31:53 -0800 Received: (qmail 23408 invoked by uid 65534); 17 Jan 2005 10:31:51 -0000 Date: 17 Jan 2005 10:31:51 -0000 Message-ID: <20050117103151.23405.qmail@minotaur.apache.org> From: mturk@apache.org To: commits@apr.apache.org Subject: svn commit: r125405 - /apr/apr/trunk/threadproc/unix/proc.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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");