diff options
Diffstat (limited to 'ext/io/console')
-rw-r--r-- | ext/io/console/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 1fb1609b4d..e034079f90 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -1562,7 +1562,7 @@ static VALUE str_chomp(VALUE str) { if (!NIL_P(str)) { - str = rb_funcallv(str, rb_intern("chomp!"), 0, 0); + rb_funcallv(str, rb_intern("chomp!"), 0, 0); } return str; } |