apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1611004 - /apr/apr/trunk/test/testskiplist.c
Date Wed, 16 Jul 2014 13:32:42 GMT
Author: trawick
Date: Wed Jul 16 13:32:42 2014
New Revision: 1611004

URL: http://svn.apache.org/r1611004
Log:
Merge forward r1610988 from 1.6.x branch:

Fix gcc -Wparentheses warnings

Modified:
    apr/apr/trunk/test/testskiplist.c

Modified: apr/apr/trunk/test/testskiplist.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testskiplist.c?rev=1611004&r1=1611003&r2=1611004&view=diff
==============================================================================
--- apr/apr/trunk/test/testskiplist.c (original)
+++ apr/apr/trunk/test/testskiplist.c Wed Jul 16 13:32:42 2014
@@ -62,7 +62,7 @@ static void skiplist_test(abts_case *tc,
     }
 
     /* remove all objects */
-    while (val = apr_skiplist_pop(list, NULL)){
+    while ((val = apr_skiplist_pop(list, NULL))){
         ABTS_INT_EQUAL(tc, *val, j++);
     }
 
@@ -72,7 +72,7 @@ static void skiplist_test(abts_case *tc,
     }
 
     j = test_elems;
-    while (val = apr_skiplist_pop(list, NULL)){
+    while ((val = apr_skiplist_pop(list, NULL))){
         ABTS_INT_EQUAL(tc, *val, j++);
     }
 



Mime
View raw message