Skip to content

Commit 5760ce8

Browse files
committed
Remove unused variable.
1 parent 0cc549e commit 5760ce8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/truffle/truffle/cext_ruby.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def rb_define_method(mod, name, function, argc)
2020
raise ArgumentError, "arity out of range: #{argc} for -2..15"
2121
end
2222

23-
wrapper = RB_DEFINE_METHOD_WRAPPERS[argc]
2423
method_body = Truffle::Graal.copy_captured_locals -> *args, &block do
2524
if argc == -1 # (int argc, VALUE *argv, VALUE obj)
2625
args = [function, args.size, Truffle::CExt.RARRAY_PTR(args), Primitive.cext_wrap(self)]

0 commit comments

Comments
 (0)