summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index 61c763f..6f5b9cf 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -474,9 +474,8 @@ Tcl_LoadObjCmd(
/* We have an Tcl 8.x extension with incompatible stub table. */
Tcl_Obj *obj = Tcl_NewStringObj(iPtr->result, -1);
Tcl_SetObjResult(interp, obj);
- } else {
- Tcl_TransferResult(target, code, interp);
}
+ Tcl_TransferResult(target, code, interp);
goto done;
}