apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1611005 - in /apr/apr/branches/1.5.x: ./ test/testskiplist.c
Date Wed, 16 Jul 2014 13:34:16 GMT
Author: trawick
Date: Wed Jul 16 13:34:16 2014
New Revision: 1611005

URL: http://svn.apache.org/r1611005
Log:
Merge r1611004 from trunk:

Fix gcc -Wparentheses warnings

Modified:
    apr/apr/branches/1.5.x/   (props changed)
    apr/apr/branches/1.5.x/test/testskiplist.c

Propchange: apr/apr/branches/1.5.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1611004

Modified: apr/apr/branches/1.5.x/test/testskiplist.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/test/testskiplist.c?rev=1611005&r1=1611004&r2=1611005&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/test/testskiplist.c (original)
+++ apr/apr/branches/1.5.x/test/testskiplist.c Wed Jul 16 13:34:16 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