From d597335c6d92bf1e4744618c183af0c4c7c39623 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 22 Feb 2024 20:18:49 +0900 Subject: [PATCH] Remove unused variable It was used only in old `SAVE_ROOT_JMPBUF`, and the warning was suppressed by this macro. --- eval.c | 1 - 1 file changed, 1 deletion(-) diff --git a/eval.c b/eval.c index c22b028473..a330b9c8bc 100644 --- a/eval.c +++ b/eval.c @@ -279,7 +279,6 @@ rb_ec_exec_node(rb_execution_context_t *ec, void *n) EC_PUSH_TAG(ec); if ((state = EC_EXEC_TAG()) == TAG_NONE) { - rb_thread_t *const th = rb_ec_thread_ptr(ec); rb_iseq_eval_main(iseq); } EC_POP_TAG();