Skip to content

Commit 485ff34

Browse files
committed
try to quiet coverity
1 parent a50bf29 commit 485ff34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/unlang/xlat_expr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,8 @@ static fr_slen_t xlat_expr_print_regex(fr_sbuff_t *out, xlat_exp_t const *node,
476476
*/
477477
if (!inst->xlat) {
478478
child = xlat_exp_next(node->call.args, child);
479+
480+
fr_assert(child != NULL);
479481
fr_assert(!xlat_exp_next(node->call.args, child));
480482
fr_assert(child->type == XLAT_GROUP);
481483

0 commit comments

Comments
 (0)