From commits-return-9711-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Fri Jun 06 07:25:34 2008 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 44426 invoked from network); 6 Jun 2008 07:25:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2008 07:25:33 -0000 Received: (qmail 64232 invoked by uid 500); 6 Jun 2008 07:25:36 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 64215 invoked by uid 500); 6 Jun 2008 07:25:36 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 64206 invoked by uid 99); 6 Jun 2008 07:25:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 00:25:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 07:24:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DF17B23889C1; Fri, 6 Jun 2008 00:25:09 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r663843 - in /apr/apr/branches/1.3.x: atomic/unix/solaris.c poll/unix/port.c Date: Fri, 06 Jun 2008 07:25:09 -0000 To: commits@apr.apache.org From: henryjen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080606072509.DF17B23889C1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: henryjen Date: Fri Jun 6 00:25:09 2008 New Revision: 663843 URL: http://svn.apache.org/viewvc?rev=663843&view=rev Log: backport part of r663342 from trunk to fix gcc compiler warnings on Solaris Modified: apr/apr/branches/1.3.x/atomic/unix/solaris.c apr/apr/branches/1.3.x/poll/unix/port.c Modified: apr/apr/branches/1.3.x/atomic/unix/solaris.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/atomic/unix/solaris.c?rev=663843&r1=663842&r2=663843&view=diff ============================================================================== --- apr/apr/branches/1.3.x/atomic/unix/solaris.c (original) +++ apr/apr/branches/1.3.x/atomic/unix/solaris.c Fri Jun 6 00:25:09 2008 @@ -68,7 +68,7 @@ APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) { - return atomic_cas_ptr(mem, cmp, (void*) with); + return atomic_cas_ptr(mem, (void*) cmp, with); } APR_DECLARE(void*) apr_atomic_xchgptr(volatile void **mem, void *with) Modified: apr/apr/branches/1.3.x/poll/unix/port.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/poll/unix/port.c?rev=663843&r1=663842&r2=663843&view=diff ============================================================================== --- apr/apr/branches/1.3.x/poll/unix/port.c (original) +++ apr/apr/branches/1.3.x/poll/unix/port.c Fri Jun 6 00:25:09 2008 @@ -202,7 +202,7 @@ pfd_elem_t *ep; apr_status_t rv = APR_SUCCESS; int res; - int err; + int err = 0; pollset_lock_rings();