apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r736310 - /apr/apr/branches/1.4.x/poll/unix/kqueue.c
Date Wed, 21 Jan 2009 13:46:54 GMT
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;



Mime
View raw message