summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-26 06:32:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-26 06:32:18 +0000
commitca24e581ba946362b66b21be86a16088ee9c026a (patch)
treefb2655e73a2dac66d717dc0f877960ac54528718 /ext
parentd7d1e344f5e2cb0f89f8d649544ad73df80fe01c (diff)
tcltklib.c: duplicate code
* ext/tk/tcltklib.c (ip_invoke_core): remove probably duplicate dead code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/tk/tcltklib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c
index 06b88af1d3..46159076db 100644
--- a/ext/tk/tcltklib.c
+++ b/ext/tk/tcltklib.c
@@ -8558,9 +8558,6 @@ ip_invoke_core(interp, argc, argv)
#endif
#endif
- /* get the data struct */
- ptr = get_ip(interp);
-
/* get the command name string */
#if TCL_MAJOR_VERSION >= 8
cmd = Tcl_GetStringFromObj(objv[0], &len);