summaryrefslogtreecommitdiffstats
path: root/generic/tclResult.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 11:48:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 11:48:29 (GMT)
commit1a19e1f67d4039692837657d71be3d35b40a9662 (patch)
tree507709c949d3fd2b5d934023e4e39366cae322df /generic/tclResult.c
parentee29bbd769ed711e5e7faa7c838d23a8092cc3d1 (diff)
downloadtcl-1a19e1f67d4039692837657d71be3d35b40a9662.zip
tcl-1a19e1f67d4039692837657d71be3d35b40a9662.tar.gz
tcl-1a19e1f67d4039692837657d71be3d35b40a9662.tar.bz2
Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfo
Fix "make test-packages" on cygwin
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r--generic/tclResult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c
index 9707f20..07f6819 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -1587,7 +1587,7 @@ Tcl_GetReturnOptions(
}
if (result == TCL_ERROR) {
- Tcl_AddObjErrorInfo(interp, "", -1);
+ Tcl_AddErrorInfo(interp, "");
Tcl_DictObjPut(NULL, options, keys[KEY_ERRORSTACK], iPtr->errorStack);
}
if (iPtr->errorCode) {