summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/re.c b/re.c
index 366387b6ac..0e4cd56c40 100644
--- a/re.c
+++ b/re.c
@@ -527,23 +527,6 @@ match_alloc(klass)
}
static VALUE
-match_clone(match)
- VALUE match;
-{
- NEWOBJ(clone, struct RMatch);
- CLONESETUP(clone, match);
-
- clone->str = RMATCH(match)->str;
- clone->regs = 0;
-
- clone->regs = ALLOC(struct re_registers);
- clone->regs->allocated = 0;
- re_copy_registers(clone->regs, RMATCH(match)->regs);
-
- return (VALUE)clone;
-}
-
-static VALUE
match_become(obj, orig)
VALUE obj, orig;
{