diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-25 11:48:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-25 11:48:29 (GMT) |
commit | 1a19e1f67d4039692837657d71be3d35b40a9662 (patch) | |
tree | 507709c949d3fd2b5d934023e4e39366cae322df /generic/tclExecute.c | |
parent | ee29bbd769ed711e5e7faa7c838d23a8092cc3d1 (diff) | |
download | tcl-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/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 978d026..c2cef2a 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -3464,8 +3464,8 @@ TEBCresume( varPtr = TclObjLookupVarEx(interp, objPtr, part2Ptr, TCL_LEAVE_ERR_MSG, "read", 1, 1, &arrayPtr); if (!varPtr) { - Tcl_AddObjErrorInfo(interp, - "\n (reading value of variable to increment)", -1); + Tcl_AddErrorInfo(interp, + "\n (reading value of variable to increment)"); TRACE_APPEND(("ERROR: %.30s\n", O2S(Tcl_GetObjResult(interp)))); Tcl_DecrRefCount(incrPtr); goto gotError; |