From f584dc5a11d389a24a504b6066b74d1388f6164b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 8 Aug 2021 17:18:56 +0900 Subject: [PATCH] Suppress unused-function warning when OPT_THREADED_CODE != 1 --- vm_exec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vm_exec.c b/vm_exec.c index 305ff90261..8931799c2e 100644 --- a/vm_exec.c +++ b/vm_exec.c @@ -15,6 +15,7 @@ static void vm_analysis_insn(int insn); #endif +MAYBE_UNUSED(static void vm_insns_counter_count_insn(int insn)); #if USE_INSNS_COUNTER static size_t rb_insns_counter[VM_INSTRUCTION_SIZE];