From 8bfcd975b86170bfb358ab32f0374b9502b32ae8 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Mon, 14 Jul 2025 19:14:38 -0600 Subject: [PATCH] Remove unused function --- src/lib/unlang/unlang_priv.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/lib/unlang/unlang_priv.h b/src/lib/unlang/unlang_priv.h index 90ac6d1782..8e6c8123b8 100644 --- a/src/lib/unlang/unlang_priv.h +++ b/src/lib/unlang/unlang_priv.h @@ -611,20 +611,6 @@ static inline int stack_depth_current(request_t *request) return stack->depth; } -/** Initialise the result fields in a frame - * - * @param[in] result_p Where to write the result of executing the instruction in the frame. - * If NULL, the result will be written to frame->result, and evaluated - automatically by the interpeter when the frame is advanced or popped. - * @param[in] frame Frame to set the result for. - */ -static inline void frame_result_set(unlang_result_t *result_p, unlang_stack_frame_t *frame) -{ - frame->result_p = result_p ? result_p : &frame->scratch_result; - frame->scratch_result.rcode = RLM_MODULE_NOT_SET; - frame->scratch_result.priority = MOD_ACTION_NOT_SET; -} - /** Initialise memory and instruction for a frame when a new instruction is to be evaluated * * @note We don't change result_p here, we only reset the scratch values. This is because -- 2.47.2