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 14:55:29 UTC
svn commit: r1610988 - /apr/apr/branches/1.6.x/test/testskiplist.c
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++);
}
Re: svn commit: r1610988 - /apr/apr/branches/1.6.x/test/testskiplist.c
Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Jul 16, 2014 at 8:55 AM, <tr...@apache.org> wrote:
> 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
>
err, I forgot to update trunk before deciding that testskiplist.c wasn't in
trunk; fixing now...