From 1030f01cb523f9418d81e06f91b3de06e58c30bf Mon Sep 17 00:00:00 2001 From: Mojca Miklavec Date: Thu, 16 Mar 2023 07:47:44 +0100 Subject: [PATCH] Avoid compiler warning about unused variable in SetWaitableTimerEx_emulation --- src/win32/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/thread.cpp b/src/win32/thread.cpp index 000ab8779..55986b9b2 100644 --- a/src/win32/thread.cpp +++ b/src/win32/thread.cpp @@ -577,7 +577,7 @@ namespace boost } Reason; } REASON_CONTEXT, *PREASON_CONTEXT; typedef BOOL (WINAPI *setwaitabletimerex_t)(HANDLE, const LARGE_INTEGER *, LONG, PTIMERAPCROUTINE, LPVOID, PREASON_CONTEXT, ULONG); - static inline BOOL WINAPI SetWaitableTimerEx_emulation(HANDLE hTimer, const LARGE_INTEGER *lpDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, PREASON_CONTEXT WakeContext, ULONG TolerableDelay) + static inline BOOL WINAPI SetWaitableTimerEx_emulation(HANDLE hTimer, const LARGE_INTEGER *lpDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, PREASON_CONTEXT, ULONG) { return SetWaitableTimer(hTimer, lpDueTime, lPeriod, pfnCompletionRoutine, lpArgToCompletionRoutine, FALSE); }