summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-27 03:49:18 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-27 03:49:18 (GMT)
commitec4ba1b7282a43b927c4e431ccc8ad4ad14e3d4b (patch)
tree9a94837cf61775d0eea3837af35587b7f977388d /proc.c
parent6b78bfcf01667afdc65c3bbb4e313e9f594229c2 (diff)
proc.c: remove rb_block_clear_env_self
* proc.c (rb_block_clear_env_self): removed as deprecated at r52129. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/proc.c b/proc.c
index b5913d6..943b2ea 100644
--- a/proc.c
+++ b/proc.c
@@ -694,17 +694,6 @@ rb_block_lambda(void)
return proc_new(rb_cProc, TRUE);
}
-VALUE
-rb_block_clear_env_self(VALUE proc)
-{
- rb_proc_t *po;
- rb_env_t *env;
- GetProcPtr(proc, po);
- GetEnvPtr(rb_vm_proc_envval(po), env);
- env->env[0] = Qfalse;
- return proc;
-}
-
/* Document-method: ===
*
* call-seq: