From a63d1f0ba7ba44ac7c5fadf14d993c36a96b8d2e Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Thu, 28 Jan 2021 10:40:00 +0000 Subject: [PATCH] We should always have list head pointer values now Closes #3889 --- src/lib/util/pair.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.47.2