From: Arran Cudbard-Bell Date: Sat, 7 Sep 2019 04:53:32 +0000 (-0500) Subject: Quiet the compiler? X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e935f440d2b84dd22aef498772959aa22bdb5cfb;p=thirdparty%2Ffreeradius-server.git Quiet the compiler? --- diff --git a/src/lib/unlang/group.c b/src/lib/unlang/group.c index 887208b5cea..b87d3c74259 100644 --- a/src/lib/unlang/group.c +++ b/src/lib/unlang/group.c @@ -52,7 +52,7 @@ unlang_action_t unlang_group(REQUEST *request, } static unlang_action_t unlang_policy(REQUEST *request, - UNUSED rlm_rcode_t *result, UNUSED int *priority) + rlm_rcode_t *result, int *priority) { unlang_stack_t *stack = request->stack; unlang_stack_frame_t *frame = &stack->frame[stack->depth]; diff --git a/src/lib/unlang/unlang_priv.h b/src/lib/unlang/unlang_priv.h index 94ceb33c517..2d88568630a 100644 --- a/src/lib/unlang/unlang_priv.h +++ b/src/lib/unlang/unlang_priv.h @@ -243,7 +243,8 @@ typedef enum { ///< to whatever called the interpreter. UNWIND_FLAG_BREAK_POINT = 0x04, //!< 'break' stops here. UNWIND_FLAG_RETURN_POINT = 0x08, //!< 'return' stops here. - UNWIND_FLAG_NO_CLEAR = 0x10 //!< Keep unwinding, don't clear the unwind flag. + UNWIND_FLAG_NO_CLEAR = 0x10, //!< Keep unwinding, don't clear the unwind flag. + UNWIND_FLAG_MAX = 0xff } unlang_unwind_flags_t; #define repeatable_set(_frame) ((_frame)->uflags |= UNWIND_FLAG_REPEAT)