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:
parent
c5f4345138
commit
b5adaa8dbd
Notes:
git
2020-06-29 11:07:04 +09:00
1 changed files with 2 additions and 4 deletions
6
goruby.c
6
goruby.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue