summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorbch <brad.harder@gmail.com>2015-01-21 00:21:18 (GMT)
committerbch <brad.harder@gmail.com>2015-01-21 00:21:18 (GMT)
commit80c303fe985156a04d9565cc50a77e52c4f62269 (patch)
treef1db3ec77e0cc3d2385f601e19e1555083078959 /generic/tclIO.c
parent8a0f2c19a4874ee97f6e20d202d2b34a69a38e06 (diff)
downloadtcl-80c303fe985156a04d9565cc50a77e52c4f62269.zip
tcl-80c303fe985156a04d9565cc50a77e52c4f62269.tar.gz
tcl-80c303fe985156a04d9565cc50a77e52c4f62269.tar.bz2
truncateProc *can* be NULL
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 596ba3f..eb33106 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -1552,7 +1552,6 @@ Tcl_CreateChannel(
assert(NULL!=typePtr->inputProc);
assert(NULL!=typePtr->outputProc);
assert(NULL!=typePtr->watchProc);
- assert(NULL!=typePtr->truncateProc);
assert(NULL!=typePtr->getHandleProc);
if (NULL!=typePtr->wideSeekProc) {
assert(NULL!=typePtr->seekProc && "Must define seekProc if defining wideSeekProc");