From 1c2ddd80b064aaf36b7529c5b31cb9ca73784871 Mon Sep 17 00:00:00 2001 From: Herwin Date: Fri, 13 Dec 2024 17:53:24 +0100 Subject: [PATCH] Remove unused variable from PushArgsInstruction --- lib/natalie/compiler/instructions/push_args_instruction.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/natalie/compiler/instructions/push_args_instruction.rb b/lib/natalie/compiler/instructions/push_args_instruction.rb index d6e202fd7..fb5863a1c 100644 --- a/lib/natalie/compiler/instructions/push_args_instruction.rb +++ b/lib/natalie/compiler/instructions/push_args_instruction.rb @@ -19,7 +19,6 @@ def to_s end def generate(transform) - args = transform.temp('args') if @for_block transform.exec_and_push(:args, "args.to_array_for_block(env, #{@min_count}, #{@max_count || -1}, #{@spread ? 'true' : 'false'})") elsif @to_array