summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-16 22:01:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-16 22:01:57 (GMT)
commit8545051315841a4c5671ceb49710eb176012d8cc (patch)
treeddc691fbaa0c226706223123fcfcd260eadb024d /generic/tclCmdIL.c
parentb1b840179e012581ad23d865565f2d121306e2b4 (diff)
downloadtcl-8545051315841a4c5671ceb49710eb176012d8cc.zip
tcl-8545051315841a4c5671ceb49710eb176012d8cc.tar.gz
tcl-8545051315841a4c5671ceb49710eb176012d8cc.tar.bz2
Repair improper assertion.
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index f870245..99d9332 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -2663,7 +2663,7 @@ Tcl_LrepeatObjCmd(
* number of times.
*/
- CLANG_ASSERT(dataArray);
+ CLANG_ASSERT(dataArray || totalElems == 0 );
if (objc == 1) {
register Tcl_Obj *tmpPtr = objv[0];