summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-29 17:03:27 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-29 17:03:27 +0000
commit5b8e80e9eb209bfd3d536a2e3bd969235efb3e50 (patch)
tree2ab8f10ea6524db3a187fb4a82c6b5b75359f5bc /string.c
parent8733060106d0fe2b5e292ef0d9fff8a3507bbcdb (diff)
unused function uscore_get removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/string.c b/string.c
index f303dc58b0..1142028441 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