]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
no unused variable for you
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Sep 2017 23:55:11 +0000 (19:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Sep 2017 23:55:11 +0000 (19:55 -0400)
src/main/unlang_interpret.c

index aff6c9289e99501a8a0a488405c52fd7ee29f41f..63581791fb64ba1b8d8ebbcc41f59a5410e06b11 100644 (file)
@@ -744,7 +744,9 @@ static unlang_action_t unlang_call(REQUEST *request, unlang_stack_t *stack,
        /*
         *      @todo - handle other return codes later.
         */
-       rad_assert(final == FR_IO_REPLY);
+       if (final != FR_IO_REPLY) {
+               RDEBUG("ignoring unknown return code... no yield for you!");
+       }
 
        request->log.unlang_indent = indent;
        request->async->process = unlang_process_continue;