summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2015-08-01 19:37:04 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2015-08-01 19:37:04 (GMT)
commit9bacb3fab61a4db75d9e98c04a3ea906265e8249 (patch)
tree214064572682de264f1ef15996e7bb6d7e7ca4e1 /generic/tclCompile.c
parent6d2f884f461d22c6f2fef2ef38f299532fc16bb4 (diff)
downloadtcl-9bacb3fab61a4db75d9e98c04a3ea906265e8249.zip
tcl-9bacb3fab61a4db75d9e98c04a3ea906265e8249.tar.gz
tcl-9bacb3fab61a4db75d9e98c04a3ea906265e8249.tar.bz2
Fix Coverity CID 1251203: break vs continue in for-step clause
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 824276c..478881d 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -4101,7 +4101,7 @@ TclEmitInvoke(
&& auxContinuePtr->expandTarget == envPtr->expandCount-expandCount) {
auxContinuePtr = NULL;
} else {
- continueRange = auxBreakPtr - envPtr->exceptAuxArrayPtr;
+ continueRange = auxContinuePtr - envPtr->exceptAuxArrayPtr;
}
if (auxBreakPtr != NULL || auxContinuePtr != NULL) {