From: Alan T. DeKok Date: Mon, 28 Jul 2025 12:30:58 +0000 (-0400) Subject: no need to check for NULL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf811e3910b31b712a781daa1d385f2f952e799;p=thirdparty%2Ffreeradius-server.git no need to check for NULL --- 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. */