summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/string.c b/string.c
index 7dd824186f..382feb4d84 100644
--- a/string.c
+++ b/string.c
@@ -1242,9 +1242,6 @@ static VALUE
rb_str_match(x, y)
VALUE x, y;
{
- VALUE reg;
- long start;
-
switch (TYPE(y)) {
case T_STRING:
rb_raise(rb_eTypeError, "type mismatch: String given");