summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r--win/tclWinTime.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 0c2f212..643b899 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -385,12 +385,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.
*/
@@ -624,10 +621,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.
@@ -670,10 +666,8 @@ void TclWinResetTimerResolution(void);
static void
StopCalibration(
- ClientData dummy) /* Client data is unused */
+ TCL_UNUSED(ClientData))
{
- (void)dummy;
-
SetEvent(timeInfo.exitEvent);
/*
@@ -714,11 +708,10 @@ StopCalibration(
static DWORD WINAPI
CalibrationThread(
- LPVOID arg)
+ TCL_UNUSED(LPVOID))
{
FILETIME curFileTime;
DWORD waitResult;
- (void)arg;
/*
* Get initial system time and performance counter.