diff options
author | dgp <dgp@users.sourceforge.net> | 2020-03-09 16:13:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-03-09 16:13:11 (GMT) |
commit | 683144e7f0a62bea19fb406f3f3cb377a9eb7d58 (patch) | |
tree | 81f8ce21abe8b096649809b2ed4df23c794f1264 /win/tclWinTime.c | |
parent | 8816b1a873ea5b502c1fcefc3b56875e281f0458 (diff) | |
download | tcl-683144e7f0a62bea19fb406f3f3cb377a9eb7d58.zip tcl-683144e7f0a62bea19fb406f3f3cb377a9eb7d58.tar.gz tcl-683144e7f0a62bea19fb406f3f3cb377a9eb7d58.tar.bz2 |
TCL_UNUSED for win sources.
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r-- | win/tclWinTime.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c index 4a55c3f..8546fc2 100644 --- a/win/tclWinTime.c +++ b/win/tclWinTime.c @@ -413,12 +413,9 @@ Tcl_GetTime( static void NativeScaleTime( - Tcl_Time *timePtr, - ClientData dummy) + TCL_UNUSED(Tcl_Time *), + TCL_UNUSED(ClientData)) { - (void)timePtr; - (void)dummy; - /* * Native scale is 1:1. Nothing is done. */ @@ -652,10 +649,9 @@ NativeGetMicroseconds(void) static void NativeGetTime( Tcl_Time *timePtr, - ClientData dummy) + TCL_UNUSED(ClientData)) { Tcl_WideInt usecSincePosixEpoch; - (void)dummy; /* * Try to use high resolution timer. @@ -698,10 +694,8 @@ void TclWinResetTimerResolution(void); static void StopCalibration( - ClientData dummy) /* Client data is unused */ + TCL_UNUSED(ClientData)) { - (void)dummy; - SetEvent(timeInfo.exitEvent); /* @@ -979,11 +973,10 @@ ComputeGMT( static DWORD WINAPI CalibrationThread( - LPVOID arg) + TCL_UNUSED(LPVOID)) { FILETIME curFileTime; DWORD waitResult; - (void)arg; /* * Get initial system time and performance counter. |