Skip to content
Permalink
Browse files

Simplify rb_define_module_id

  • Loading branch information...
XrXr authored and nobu committed Oct 9, 2019
1 parent ecf6c04 commit 8dc5fe6e89cb86bd92628b5f34ba5f549a241c2d
Showing with 1 addition and 5 deletions.
  1. +1 −5 class.c
@@ -768,11 +768,7 @@ rb_module_new(void)
VALUE
rb_define_module_id(ID id)
{
VALUE mdl;

mdl = rb_module_new();

return mdl;
return rb_module_new();
}

VALUE

0 comments on commit 8dc5fe6

Please sign in to comment.
You can’t perform that action at this time.