summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-02 15:16:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-02 15:16:22 +0000
commit800a5e86cf0d8c2869861d0761fc0808629b6f96 (patch)
treef5b063a38bb2b8624fd31174a8c13f4a9d7d2043 /eval.c
parent9a74cc0a55b4f91362034576e03126067ee99273 (diff)
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
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index c6fbd2e..9849827 100644
--- a/eval.c
+++ b/eval.c
@@ -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 */