summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2013-09-20 13:02:29 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2013-09-20 13:02:29 (GMT)
commit604f1eba04ed1c06a006712d43462b7ad6d7ce45 (patch)
treebf68b0b0a6c8342c24a522435cd2cf797929427a /generic/tclExecute.c
parent9baee07d38ea836934fe3776ae101d3319301a10 (diff)
parentc874899e9c1e4f38969f972f9fd477d3c9c8baeb (diff)
downloadtcl-604f1eba04ed1c06a006712d43462b7ad6d7ce45.zip
tcl-604f1eba04ed1c06a006712d43462b7ad6d7ce45.tar.gz
tcl-604f1eba04ed1c06a006712d43462b7ad6d7ce45.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index d066476..0ca393b 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -4738,7 +4738,7 @@ TEBCresume(
if (listPtr->refCount == 1) {
TRACE(("\"%.30s\" %d %d => ", O2S(valuePtr),
TclGetInt4AtPtr(pc+1), TclGetInt4AtPtr(pc+5)));
- for (index=toIdx+1 ; index<objc-1 ; index++) {
+ for (index=toIdx+1; index<objc ; index++) {
TclDecrRefCount(objv[index]);
}
listPtr->elemCount = toIdx+1;
@@ -8798,8 +8798,7 @@ TclGetSrcInfoForPc(
&cfPtr->len, NULL, NULL);
}
- assert(cfPtr->cmd != NULL);
- {
+ if (cfPtr->cmd != NULL) {
/*
* We now have the command. We can get the srcOffset back and from
* there find the list of word locations for this command.