From: Arran Cudbard-Bell Date: Thu, 28 Jan 2021 10:40:00 +0000 (+0000) Subject: We should always have list head pointer values now Closes #3889 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63d1f0ba7ba44ac7c5fadf14d993c36a96b8d2e;p=thirdparty%2Ffreeradius-server.git We should always have list head pointer values now Closes #3889 --- diff --git a/src/lib/util/pair.h b/src/lib/util/pair.h index 63965cd90a..99b62f60de 100644 --- a/src/lib/util/pair.h +++ b/src/lib/util/pair.h @@ -42,11 +42,7 @@ extern "C" { * so we can add some sneaky soft asserts. */ # define VP_VERIFY(_x) fr_cond_assert(_x) -/* - * We don't assert the list head is non-NULL, as it's perfectly - * valid to have an empty list. - */ -# define LIST_VERIFY(_x) +# define LIST_VERIFY(_x) fr_cond_assert(_x) #endif /** The type of value a fr_pair_t contains