From: Nick Porter Date: Fri, 8 Apr 2022 10:13:38 +0000 (+0100) Subject: Define PAIR_VERIFY_WITH_LIST for non WITH_VERIFY_PTR build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe72c9d071d25a741704c0e65ce15ea8011adb71;p=thirdparty%2Ffreeradius-server.git Define PAIR_VERIFY_WITH_LIST for non WITH_VERIFY_PTR build --- diff --git a/src/lib/util/pair.h b/src/lib/util/pair.h index f5a197cbe3..b23ace0ebe 100644 --- a/src/lib/util/pair.h +++ b/src/lib/util/pair.h @@ -184,6 +184,8 @@ DIAG_ON(nonnull-compare) * so we can add some sneaky soft asserts. */ # define PAIR_VERIFY(_x) fr_pair_nonnull_assert(_x) +# define PAIR_VERIFY_WITH_LIST(_l, _x) fr_pair_list_nonnull_assert(_l); \ + fr_pair_nonnull_assert(_x) # define PAIR_LIST_VERIFY(_x) fr_pair_list_nonnull_assert(_x) #endif