From: Alan T. DeKok Date: Sat, 7 Oct 2023 21:58:11 +0000 (-0400) Subject: quiet static analyzer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc2ef44bf2d3f9c56b5d05c30ed7400d64d8e77;p=thirdparty%2Ffreeradius-server.git quiet static analyzer --- diff --git a/src/lib/unlang/xlat_inst.c b/src/lib/unlang/xlat_inst.c index f00c4ec2bc..4f687ec390 100644 --- a/src/lib/unlang/xlat_inst.c +++ b/src/lib/unlang/xlat_inst.c @@ -361,11 +361,11 @@ static int _xlat_instantiate_ephemeral_walker(xlat_exp_t *node, void *uctx) int xlat_finalize(xlat_exp_head_t *head, tmpl_rules_t const *t_rules) { if (!t_rules || !t_rules->xlat.runtime_el) { - fr_assert(!t_rules->at_runtime); + fr_assert(!t_rules || !t_rules->at_runtime); return xlat_bootstrap(head); } - fr_assert(t_rules->at_runtime); + fr_assert(t_rules && t_rules->at_runtime); return xlat_instantiate_ephemeral(head, t_rules->xlat.runtime_el); }