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 2014/07/16 15:32:42 UTC

svn commit: r1611004 - /apr/apr/trunk/test/testskiplist.c

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++);
     }