summaryrefslogtreecommitdiffstats
path: root/generic
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)
commitacad5814798a290c3c8bbdeffa55b4e24f3579b2 (patch)
treef1db3ec77e0cc3d2385f601e19e1555083078959 /generic
parent52d37c087d8566c82644d7b61a6dac58999a16a7 (diff)
downloadtcl-acad5814798a290c3c8bbdeffa55b4e24f3579b2.zip
tcl-acad5814798a290c3c8bbdeffa55b4e24f3579b2.tar.gz
tcl-acad5814798a290c3c8bbdeffa55b4e24f3579b2.tar.bz2
truncateProc *can* be NULL
Diffstat (limited to 'generic')
-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");