summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 605e622a91..fa30463f9e 100644
--- a/proc.c
+++ b/proc.c
@@ -1532,7 +1532,6 @@ top_define_method(int argc, VALUE *argv, VALUE obj)
rb_thread_t *th = GET_THREAD();
VALUE klass;
- rb_secure(4);
klass = th->top_wrapper;
if (klass) {
rb_warning("main.define_method in the wrapped load is effective only in wrapper module");