Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 40852 invoked from network); 10 May 2008 19:06:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 May 2008 19:06:49 -0000 Received: (qmail 61289 invoked by uid 500); 10 May 2008 19:06:50 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 61233 invoked by uid 500); 10 May 2008 19:06:49 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 61222 invoked by uid 99); 10 May 2008 19:06:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2008 12:06:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lucian.grijincu@gmail.com designates 209.85.198.224 as permitted sender) Received: from [209.85.198.224] (HELO rv-out-0506.google.com) (209.85.198.224) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2008 19:06:04 +0000 Received: by rv-out-0506.google.com with SMTP id b25so3032081rvf.43 for ; Sat, 10 May 2008 12:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=KeszuIDn4GInICyPwcKDXdYLkibHhouTiDFG3cs4r6k=; b=Yu6laqjyeP3jKWDo1E3ZS0IiO/3aM9FEExEH/Gt56ZgobbkAWdl78XDJCto+5pQz6vE7U3l6r6yTI4pdr7vd+P3Wg043C1OGrsGVw0j2Rki459g6ey5EdP6xAH0NUjJr3DyfSr3G0WZkdO3GYddCXsbNHZnZsJ/wuZ5yEdEbQ8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=niOm5oGHXICBvXxMnAHZCWFxPOagSX4gJzOD5utknSGm2rsKpXPmULsgi4OS9ZEx7mF/4+XK2Qd7ttxGpKS0cmalWqJcrcqGnhiMVfR1sxp/F2nCIRQzOSE/8XcKI+QxYgCObYGkpEgKKyGIcikkWi5++rB5BmHqdCaYvgGKKsE= Received: by 10.140.164.6 with SMTP id m6mr2828055rve.208.1210446378723; Sat, 10 May 2008 12:06:18 -0700 (PDT) Received: by 10.141.98.17 with HTTP; Sat, 10 May 2008 12:06:18 -0700 (PDT) Message-ID: Date: Sat, 10 May 2008 22:06:18 +0300 From: "Lucian Adrian Grijincu" To: dev@apr.apache.org Subject: Re: svn commit: r655138 - /apr/apr/trunk/poll/unix/select.c In-Reply-To: <20080510185229.1A06923889C4@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080510185229.1A06923889C4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org On Sat, May 10, 2008 at 9:52 PM, wrote: > Author: fielding > Date: Sat May 10 11:52:28 2008 > New Revision: 655138 > > URL: http://svn.apache.org/viewvc?rev=655138&view=rev > Log: > silence warning about assignment expression > > Modified: > apr/apr/trunk/poll/unix/select.c > > Modified: apr/apr/trunk/poll/unix/select.c > URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/select.c?rev=655138&r1=655137&r2=655138&view=diff > ============================================================================== > --- apr/apr/trunk/poll/unix/select.c (original) > +++ apr/apr/trunk/poll/unix/select.c Sat May 10 11:52:28 2008 > @@ -520,7 +520,7 @@ > j++; > } > } > - if ((*num) = j) > + if (((*num) = j) != 0) wouldn't just another set of parentheses fix it? if (((*num) = j)) > rv = APR_SUCCESS; > > if (descriptors) > > > -- Lucian