Skip to content

Commit

Permalink
Simplify rb_define_module_id
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr authored and nobu committed Oct 9, 2019
1 parent ecf6c04 commit 8dc5fe6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions class.c
Expand Up @@ -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
Expand Down

0 comments on commit 8dc5fe6

Please sign in to comment.