Skip to content

Commit

Permalink
quiet static analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 7, 2023
1 parent 79615ab commit 3fc2ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/unlang/xlat_inst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3fc2ef4

Please sign in to comment.