dev  

Re: svn commit: r655138 - /apr/apr/trunk/poll/unix/select.c

William A. Rowe, Jr.
Sun, 11 May 2008 14:05:34 -0700

Lucian Adrian Grijincu wrote:
On Sat, May 10, 2008 at 9:52 PM,  <[EMAIL PROTECTED]> wrote:
    }
-    if ((*num) = j)
+    if (((*num) = j) != 0)
wouldn't just another set of parentheses fix it?
if (((*num) = j))

Actually, ((*num = j)) is legit, or ((*num = j) != 0) for clarity.  The
(*num) parens are redundant in any C code I've ever seen :-)