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

goruby_options: do not goto into a branch

I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea.  Better refactor.
This commit is contained in:
卜部昌平 2020-06-15 14:52:02 +09:00
parent c5f4345138
commit b5adaa8dbd
Notes: git 2020-06-29 11:07:04 +09:00

View file

@ -49,10 +49,8 @@ goruby_options(int argc, char **argv)
close(infd);
return ret;
}
else {
no_irb:
return ruby_options(argc, argv);
}
no_irb:
return ruby_options(argc, argv);
}
int