From 8ff007f38796e07afec6deed48bcaec30d84f19e Mon Sep 17 00:00:00 2001 From: James Jones Date: Tue, 24 Aug 2021 08:10:34 -0500 Subject: [PATCH] Add assert to reassure (or shut up) "make scan" (#4206) --- src/lib/util/machine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/util/machine.c b/src/lib/util/machine.c index 25ec2f3a565..3e929f29cd1 100644 --- a/src/lib/util/machine.c +++ b/src/lib/util/machine.c @@ -229,6 +229,7 @@ fr_machine_t *fr_machine_alloc(TALLOC_CTX *ctx, fr_machine_def_t const *def, voi * another new state, or 0 for "stay in the current * state". */ + fr_assert(m->current->def); fr_assert(!m->current->def->enter); fr_assert(!m->current->def->exit); -- 2.47.3