diff options
author | dgp <dgp@users.sourceforge.net> | 2020-03-09 16:34:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-03-09 16:34:46 (GMT) |
commit | f336629f658f0862b12cd860a4edae8b95449eb2 (patch) | |
tree | e38704da3f3289f90c91833bf10a8e91a3699088 /unix/tclSelectNotfy.c | |
parent | 254b4fa35fd51a8b78906d5d481f4e1c3901f8b2 (diff) | |
parent | 065483ce8b22e7da470427493d68f36e6a53b80b (diff) | |
download | tcl-f336629f658f0862b12cd860a4edae8b95449eb2.zip tcl-f336629f658f0862b12cd860a4edae8b95449eb2.tar.gz tcl-f336629f658f0862b12cd860a4edae8b95449eb2.tar.bz2 |
merge 8.7
Diffstat (limited to 'unix/tclSelectNotfy.c')
-rw-r--r-- | unix/tclSelectNotfy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c index 2a22639..52b012a 100644 --- a/unix/tclSelectNotfy.c +++ b/unix/tclSelectNotfy.c @@ -376,7 +376,7 @@ Tcl_InitNotifier(void) void Tcl_FinalizeNotifier( - ClientData clientData) /* Not used. */ + ClientData clientData) { if (tclNotifierHooks.finalizeNotifierProc) { tclNotifierHooks.finalizeNotifierProc(clientData); @@ -928,7 +928,7 @@ Tcl_WaitForEvent( #if TCL_THREADS static TCL_NORETURN void NotifierThreadProc( - ClientData dummy) /* Not used. */ + TCL_UNUSED(ClientData)) { ThreadSpecificData *tsdPtr; fd_set readableMask; @@ -940,7 +940,6 @@ NotifierThreadProc( struct timeval poll = {0, 0}, *timePtr; char buf[2]; int numFdBits = 0; - (void)dummy; if (pipe(fds) != 0) { Tcl_Panic("NotifierThreadProc: %s", "could not create trigger pipe"); |