Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
It was used only in old `SAVE_ROOT_JMPBUF`, and the warning was
suppressed by this macro.
  • Loading branch information
nobu committed Feb 22, 2024
1 parent 6478514 commit d597335
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d597335

Please sign in to comment.