]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
shut up static analyzer
authorAlan T. DeKok <aland@freeradius.org>
Wed, 31 Mar 2021 12:21:52 +0000 (08:21 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Mar 2021 15:12:47 +0000 (16:12 +0100)
src/lib/unlang/interpret.c

index 594bb1eedf07b1cfd9eb08ba927cf1e73e297307..74786c511f2b1090d76cb6b3c5e7c08c597e0a44 100644 (file)
@@ -926,7 +926,10 @@ bool unlang_interpret_is_resumable(request_t *request)
 void unlang_interpret_request_done(request_t *request)
 {
        unlang_stack_t          *stack = request->stack;
-       unlang_interpret_t      *intp = stack->intp;
+       unlang_interpret_t      *intp;
+
+       fr_assert(stack != NULL);
+       intp = stack->intp;
 
        if (request_is_internal(request)) {
                intp->funcs.done_internal(request, stack->result, intp->uctx);