From: Alan T. DeKok Date: Thu, 14 Apr 2022 14:50:11 +0000 (-0400) Subject: shut up compiler. CID #1504010 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7039bf7bcb1e6a95bac2ce5cb7ce74393ffcb3f0;p=thirdparty%2Ffreeradius-server.git shut up compiler. CID #1504010 --- diff --git a/src/lib/util/edit_tests.c b/src/lib/util/edit_tests.c index 218910d1dc6..8cd467ab359 100644 --- a/src/lib/util/edit_tests.c +++ b/src/lib/util/edit_tests.c @@ -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);