]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix scan / warnings
authorAlan T. DeKok <aland@freeradius.org>
Sat, 28 Aug 2021 12:48:57 +0000 (08:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 30 Aug 2021 15:13:41 +0000 (11:13 -0400)
src/lib/util/machine.c

index 3e929f29cd1198ed526ca36d39fbb7e079a48ac4..4bdb8652139d0b5c6242ddabd10af773bae003e9 100644 (file)
@@ -232,6 +232,7 @@ fr_machine_t *fr_machine_alloc(TALLOC_CTX *ctx, fr_machine_def_t const *def, voi
        fr_assert(m->current->def);
        fr_assert(!m->current->def->enter);
        fr_assert(!m->current->def->exit);
+       fr_assert(m->current->def->process);
 
        next = m->current->def->process(m, uctx);
        fr_assert(next >= 0);