From: James Jones Date: Tue, 24 Aug 2021 13:10:34 +0000 (-0500) Subject: Add assert to reassure (or shut up) "make scan" (#4206) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ff007f38796e07afec6deed48bcaec30d84f19e;p=thirdparty%2Ffreeradius-server.git Add assert to reassure (or shut up) "make scan" (#4206) --- 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);