summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-08-22 16:13:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-08-22 16:13:29 (GMT)
commitf8dfc60a3d144141a5b93a3b9326e162cbf5cdef (patch)
treeb1f47864a1e6d2f2a2c460cf028ff2fee383f490
parent6bdb21a3a0573fcd1a3750d8f163f624d4e07a69 (diff)
downloadtcl-f8dfc60a3d144141a5b93a3b9326e162cbf5cdef.zip
tcl-f8dfc60a3d144141a5b93a3b9326e162cbf5cdef.tar.gz
tcl-f8dfc60a3d144141a5b93a3b9326e162cbf5cdef.tar.bz2
Remove assertion that is not true in some circumstances (--enable-dtrace).
-rw-r--r--generic/tclExecute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index d066476..96004e2 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -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.