apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1610988 - /apr/apr/branches/1.6.x/test/testskiplist.c
Date Wed, 16 Jul 2014 12:55:29 GMT
Author: trawick
Date: Wed Jul 16 12:55:29 2014
New Revision: 1610988

URL: http://svn.apache.org/r1610988
Log:
Fix gcc -Wparentheses warnings

Modified:
    apr/apr/branches/1.6.x/test/testskiplist.c

Modified: apr/apr/branches/1.6.x/test/testskiplist.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/test/testskiplist.c?rev=1610988&r1=1610987&r2=1610988&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/test/testskiplist.c (original)
+++ apr/apr/branches/1.6.x/test/testskiplist.c Wed Jul 16 12:55:29 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