summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-25 22:19:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-25 22:19:17 +0000
commitc95b788afc09f861d44d62a877816e53da42058e (patch)
treece6eeb64d6412d743b8fed964ce47701dadbed0b /vm_trace.c
parent8bce956ba885483509762e38f59930dd7f009adf (diff)
vm_trace.c: unnecessary method undef
* vm_trace.c (Init_vm_trace): remove unnecessary method undef, that is overridden just after it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index d8df4f2..51abd4c 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1447,7 +1447,6 @@ Init_vm_trace(void)
*/
rb_cTracePoint = rb_define_class("TracePoint", rb_cObject);
rb_undef_alloc_func(rb_cTracePoint);
- rb_undef_method(CLASS_OF(rb_cTracePoint), "new");
rb_define_singleton_method(rb_cTracePoint, "new", tracepoint_new_s, -1);
/*
* Document-method: trace