summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-02-04 10:51:00 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-02-04 10:51:00 (GMT)
commit4fa995628969059b6f261bb142433daf9057ccd9 (patch)
tree0fec8c7f2acfd218238c4f65771d849440f1b44e /generic/tclCompile.c
parent6363872064dc763f259f8c41f30cb1e865fe3d2f (diff)
downloadtcl-4fa995628969059b6f261bb142433daf9057ccd9.zip
tcl-4fa995628969059b6f261bb142433daf9057ccd9.tar.gz
tcl-4fa995628969059b6f261bb142433daf9057ccd9.tar.bz2
Eliminate all Tcl_ConvertToType calls and all direct calls to typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 33d67ff..4069cf0 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -789,8 +789,7 @@ SetByteCodeFromAny(
if (interp == NULL) {
return TCL_ERROR;
}
- TclSetByteCodeFromAny(interp, objPtr, NULL, NULL);
- return TCL_OK;
+ return TclSetByteCodeFromAny(interp, objPtr, NULL, NULL);
}
/*