You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2009/01/21 14:46:54 UTC

svn commit: r736310 - /apr/apr/branches/1.4.x/poll/unix/kqueue.c

Author: trawick
Date: Wed Jan 21 05:46:54 2009
New Revision: 736310

URL: http://svn.apache.org/viewvc?rev=736310&view=rev
Log:
Merge r734707 from trunk:

suppress gcc's warning about unexpected assignmet 

"gcc version 4.0.1 (Apple Inc. build 5490)"

Modified:
    apr/apr/branches/1.4.x/poll/unix/kqueue.c

Modified: apr/apr/branches/1.4.x/poll/unix/kqueue.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/poll/unix/kqueue.c?rev=736310&r1=736309&r2=736310&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/poll/unix/kqueue.c (original)
+++ apr/apr/branches/1.4.x/poll/unix/kqueue.c Wed Jan 21 05:46:54 2009
@@ -336,7 +336,7 @@
                 j++;
             }
         }
-        if ((*num) = j)
+        if ((*num = j))
             rv = APR_SUCCESS;
         if (descriptors) {
             *descriptors = pollset->result_set;