From e189a56aa50f429780d892df001c1b040831ddbc Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 29 Dec 2005 17:03:27 +0000 Subject: unused function uscore_get removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/string.c b/string.c index f303dc58b..114202844 100644 --- a/string.c +++ b/string.c @@ -2155,19 +2155,6 @@ rb_str_clear(VALUE str) return str; } -static VALUE -uscore_get(void) -{ - VALUE line; - - line = rb_lastline_get(); - if (TYPE(line) != T_STRING) { - rb_raise(rb_eTypeError, "$_ value need to be String (%s given)", - NIL_P(line) ? "nil" : rb_obj_classname(line)); - } - return line; -} - /* * call-seq: * str.reverse! => str -- cgit