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
This commit is contained in:
nobu 2014-12-26 06:32:18 +00:00
parent d7d1e344f5
commit ca24e581ba
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Fri Dec 26 15:32:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/tk/tcltklib.c (ip_invoke_core): remove probably duplicate
dead code.
Fri Dec 26 15:28:27 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/tk/tcltklib.c (ip_ruby_cmd_receiver_const_get): simply use

View File

@ -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);