diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2015-08-01 19:37:04 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2015-08-01 19:37:04 (GMT) |
commit | 29603179f48fc0e6920e78398c477f40d0fb4421 (patch) | |
tree | 214064572682de264f1ef15996e7bb6d7e7ca4e1 /generic | |
parent | 33a7feeefdbe3e76e6e2b4757933356f3b0660ca (diff) | |
download | tcl-29603179f48fc0e6920e78398c477f40d0fb4421.zip tcl-29603179f48fc0e6920e78398c477f40d0fb4421.tar.gz tcl-29603179f48fc0e6920e78398c477f40d0fb4421.tar.bz2 |
Fix Coverity CID 1251203: break vs continue in for-step clause
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCompile.c | 2 |
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) { |