apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r734707 - /apr/apr/trunk/poll/unix/kqueue.c
Date Thu, 15 Jan 2009 13:55:05 GMT
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;



Mime
View raw message