From 1e3ec6d1d442c1e22da641aa426687d6f0929807 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 7 Jul 2023 00:02:51 +0900 Subject: [PATCH] fix debug build --- lib/insn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/insn.c b/lib/insn.c index 44057116..04d4e416 100644 --- a/lib/insn.c +++ b/lib/insn.c @@ -470,7 +470,7 @@ read_memarg_nocheck(const uint8_t **pp, struct memarg *arg) #define INSN_IMPL(NAME) \ int process_##NAME(const uint8_t **pp, const uint8_t *ep, \ struct context *ctx) -#define LOAD_PC const uint8_t *p = *pp +#define LOAD_PC const uint8_t *p __attribute__((__unused__)) = *pp #define SAVE_PC *pp = p #define RELOAD_PC #define SAVE_STACK_PTR