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:34:16 UTC
svn commit: r1611005 - in /apr/apr/branches/1.5.x: ./ test/testskiplist.c
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++);
}