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

eval.c: unnecessary argument

* eval.c (rb_interrupt): removed unnecessary convertsion specifier
  and an empty string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-02-02 15:16:22 +00:00
parent 9a74cc0a55
commit 800a5e86cf

2
eval.c
View file

@ -641,7 +641,7 @@ rb_exc_fatal(VALUE mesg)
void
rb_interrupt(void)
{
rb_raise(rb_eInterrupt, "%s", "");
rb_raise(rb_eInterrupt, "");
}
enum {raise_opt_cause, raise_max_opt}; /*< \private */