From: Alan T. DeKok Date: Thu, 25 Nov 2021 16:27:22 +0000 (-0500) Subject: remove assert X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc48c9f4cec76e710916e62c821ac802ba291bb3;p=thirdparty%2Ffreeradius-server.git remove assert --- diff --git a/src/lib/util/calc.c b/src/lib/util/calc.c index 474d4083ee8..9143676ea52 100644 --- a/src/lib/util/calc.c +++ b/src/lib/util/calc.c @@ -1080,14 +1080,6 @@ int fr_value_calc_binary_op(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_type_t hint fr_value_box_init_null(&one); fr_value_box_init_null(&two); - /* - * Ensure that the upcast array is ordered. We have - * entries in [a][b] only when atype][b->type] == FR_TYPE_NULL) || (a->type < b->type)); - fr_assert((upcast[b->type][a->type] == FR_TYPE_NULL) || (b->type < a->type)); - /* * We don't know what the output type should be. Try to * guess based on a variety of factors.