]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
shut up compiler. CID #1504010
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Apr 2022 14:50:11 +0000 (10:50 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Apr 2022 14:51:11 +0000 (10:51 -0400)
src/lib/util/edit_tests.c

index 218910d1dc6e8c75ed280c10ee402c3e86267f4b..8cd467ab3596c9203b59cb246a81d06d8a8d25de 100644 (file)
@@ -315,7 +315,9 @@ static void test_pair_delete_multiple_abort(void)
        add_pairs(&local_pairs);
 
        vp = fr_pair_list_head(&local_pairs);
+       fr_assert(vp != NULL);
        vp = fr_pair_list_next(&local_pairs, vp);
+       fr_assert(vp != NULL);
        TEST_CHECK(vp->da == fr_dict_attr_test_octets);
 
        el = fr_edit_list_alloc(NULL, 5);