summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclEvent.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 95fbf79..906ecbb 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1457,11 +1457,8 @@ VwaitVarProc(
int *donePtr = clientData;
*donePtr = 1;
-
- Tcl_UntraceVar(interp, name1,
- TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
+ Tcl_UntraceVar(interp, name1, TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
VwaitVarProc, clientData);
-
return NULL;
}