]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix CID 1271301
authorAlan T. DeKok <aland@freeradius.org>
Fri, 5 Jun 2015 23:06:43 +0000 (19:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 5 Jun 2015 23:06:43 +0000 (19:06 -0400)
Ignore the return code of rbtree_walk()

src/tests/rbmonkey.c

index 305e7fd24d86bbd856cf4724cbf0a61aef520074..e5e17694387307e99973f61b0165c23034efe50c 100644 (file)
@@ -213,7 +213,7 @@ again:
 
         *
         */
-       rbtree_walk(t, RBTREE_DELETE_ORDER, filter_cb, &thresh);
+       (void) rbtree_walk(t, RBTREE_DELETE_ORDER, filter_cb, &thresh);
        i = rbcount(t);
        fprintf(stderr,"After delete rbcount is %i.\n", i);
        if (i < 0) { return i; }