Skip to content

Commit 74841ce

Browse files
committed
fix: 'parameter name omitted' error during compilation
1 parent 116ee47 commit 74841ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zstdruby/zstdruby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static VALUE rb_ddict_initialize(VALUE self, VALUE dict)
274274
return self;
275275
}
276276

277-
static VALUE rb_prohibit_copy(VALUE, VALUE)
277+
static VALUE rb_prohibit_copy(VALUE self, VALUE obj)
278278
{
279279
rb_raise(rb_eRuntimeError, "CDict cannot be duplicated");
280280
}

0 commit comments

Comments
 (0)