From baf811e3910b31b712a781daa1d385f2f952e799 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 28 Jul 2025 08:30:58 -0400 Subject: [PATCH] no need to check for NULL --- src/lib/util/cbor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/util/cbor.c b/src/lib/util/cbor.c index b6543428c2..c0bbfeb29b 100644 --- a/src/lib/util/cbor.c +++ b/src/lib/util/cbor.c @@ -1329,8 +1329,6 @@ ssize_t fr_cbor_decode_value_box(TALLOC_CTX *ctx, fr_value_box_t *vb, fr_dbuff_t slen = cbor_decode_integer(&value, info, &work_dbuff); if (slen < 0) return_slen; - fr_assert(type != FR_TYPE_NULL); - /* * No tag defined for this data type, that's on us. */ -- 2.47.2