diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-08 11:36:19 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-08 11:36:19 (GMT) |
| commit | e287e351053621a7372984d40a4612c949bd4513 (patch) | |
| tree | 907b6c3d34afba55ba07742b2432058db5f4b73d | |
| parent | 0b8bd5406326f887d15a55b9056d03f1b8068b99 (diff) | |
| download | tcl-e287e351053621a7372984d40a4612c949bd4513.zip tcl-e287e351053621a7372984d40a4612c949bd4513.tar.gz tcl-e287e351053621a7372984d40a4612c949bd4513.tar.bz2 | |
Fix compiler warning when using select notifier
| -rw-r--r-- | unix/tclSelectNotfy.c | 2 | ||||
| -rw-r--r-- | unix/tclUnixNotfy.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c index 72567e5..82f2ef7 100644 --- a/unix/tclSelectNotfy.c +++ b/unix/tclSelectNotfy.c @@ -377,7 +377,7 @@ TclpInitNotifier(void) void TclpFinalizeNotifier( - ClientData clientData) + TCL_UNUSED(void *)) { #if TCL_THREADS ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 0be9ed4..c1f00d5 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -211,7 +211,7 @@ LookUpFileHandler( void TclpSetTimer( - const Tcl_Time *timePtr) /* Timeout value, may be NULL. */ + TCL_UNUSED(const Tcl_Time *)) /* Timeout value, may be NULL. */ { /* * The interval timer doesn't do anything in this implementation, because |
