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/15 14:55:05 UTC

svn commit: r734707 - /apr/apr/trunk/poll/unix/kqueue.c

Author: trawick
Date: Thu Jan 15 05:55:04 2009
New Revision: 734707

URL: http://svn.apache.org/viewvc?rev=734707&view=rev
Log:
suppress gcc's warning about unexpected assignmet 

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

Modified:
    apr/apr/trunk/poll/unix/kqueue.c

Modified: apr/apr/trunk/poll/unix/kqueue.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/kqueue.c?rev=734707&r1=734706&r2=734707&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/kqueue.c (original)
+++ apr/apr/trunk/poll/unix/kqueue.c Thu Jan 15 05:55:04 2009
@@ -336,7 +336,7 @@
                 j++;
             }
         }
-        if ((*num) = j)
+        if ((*num = j))
             rv = APR_SUCCESS;
         if (descriptors) {
             *descriptors = pollset->result_set;