]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
no need to check for NULL
authorAlan T. DeKok <aland@freeradius.org>
Mon, 28 Jul 2025 12:29:26 +0000 (08:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 28 Jul 2025 12:29:26 +0000 (08:29 -0400)
src/lib/unlang/xlat_builtin.c

index 6afdbfe9eb85ff80997adb76e0026978dd672b4f..f9b869e969848fa36b56c257d791afa01bc211f0 100644 (file)
@@ -3498,7 +3498,6 @@ static xlat_action_t xlat_func_subst(TALLOC_CTX *ctx, fr_dcursor_t *out,
                return XLAT_ACTION_FAIL;
        }
 
-       fr_assert(vb && (vb->type != FR_TYPE_NULL));
        fr_value_box_safety_copy(vb, subject_vb);
        fr_value_box_safety_merge(vb, rep_vb);