summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-16 21:06:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-16 21:06:46 (GMT)
commit53a61ed82b5e860fde78796bbea75697a65203b6 (patch)
tree202c7ec45b89aab0fd2e9e6d8fe77c11e7a1ccf7
parent4638909b08044425c05cc87efd7713ad9c6be4de (diff)
parent0507a702179a76c4f004e5321dc5f5daa0604080 (diff)
downloadtcl-53a61ed82b5e860fde78796bbea75697a65203b6.zip
tcl-53a61ed82b5e860fde78796bbea75697a65203b6.tar.gz
tcl-53a61ed82b5e860fde78796bbea75697a65203b6.tar.bz2
Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.
-rw-r--r--generic/tclNotify.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index a6523fc..e76bca8 100644
--- a/generic/tclNotify.c
+++ b/generic/tclNotify.c
@@ -813,11 +813,7 @@ Tcl_SetMaxBlockTime(
*/
if (!tsdPtr->inTraversal) {
- if (tsdPtr->blockTimeSet) {
- Tcl_SetTimer(&tsdPtr->blockTime);
- } else {
- Tcl_SetTimer(NULL);
- }
+ Tcl_SetTimer(&tsdPtr->blockTime);
}
}