]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Quiet the compiler?
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 7 Sep 2019 04:53:32 +0000 (23:53 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 7 Sep 2019 04:53:32 +0000 (23:53 -0500)
src/lib/unlang/group.c
src/lib/unlang/unlang_priv.h

index 887208b5cea33f7d63ea3049e0ba5d0610ea7f90..b87d3c74259f59a2deb8f5a04acc43b60fc9fd05 100644 (file)
@@ -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];
index 94ceb33c517219cc9018703e77ae0f0104d4ef60..2d88568630adf597511e11e2f425e4bfd86d9e65 100644 (file)
@@ -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)