1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Simplify rb_define_module_id

This commit is contained in:
Alan Wu 2019-10-09 11:34:03 -04:00 committed by Nobuyoshi Nakada
parent ecf6c0402e
commit 8dc5fe6e89
Notes: git 2019-10-10 01:00:16 +09:00

View file

@ -768,11 +768,7 @@ rb_module_new(void)
VALUE VALUE
rb_define_module_id(ID id) rb_define_module_id(ID id)
{ {
VALUE mdl; return rb_module_new();
mdl = rb_module_new();
return mdl;
} }
VALUE VALUE