summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-16 21:05:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-16 21:05:38 (GMT)
commit0507a702179a76c4f004e5321dc5f5daa0604080 (patch)
tree76a8f7e82f0717e1d37d296af237f027a09ab703 /generic
parentcda2a285e3db35f852210c948e5ccff1e69806f6 (diff)
downloadtcl-0507a702179a76c4f004e5321dc5f5daa0604080.zip
tcl-0507a702179a76c4f004e5321dc5f5daa0604080.tar.gz
tcl-0507a702179a76c4f004e5321dc5f5daa0604080.tar.bz2
Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclNotify.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index f85fb7a..b45539a 100644
--- a/generic/tclNotify.c
+++ b/generic/tclNotify.c
@@ -820,11 +820,7 @@ Tcl_SetMaxBlockTime(
*/
if (!tsdPtr->inTraversal) {
- if (tsdPtr->blockTimeSet) {
- Tcl_SetTimer(&tsdPtr->blockTime);
- } else {
- Tcl_SetTimer(NULL);
- }
+ Tcl_SetTimer(&tsdPtr->blockTime);
}
}