vcl/win/app/saltimer.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit e986447db7d6991c5551933b605101a86f3537d2 Author: Noel Grandin <noelgran...@collabora.co.uk> AuthorDate: Mon Feb 26 10:53:06 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Feb 26 16:51:20 2024 +0100
fix Windows release build no idea why this only started warning now Change-Id: I61c1de875c825a55d2ec41a358503354688183bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163933 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/win/app/saltimer.cxx b/vcl/win/app/saltimer.cxx index 1ccab54e96c8..74f4cc133f53 100644 --- a/vcl/win/app/saltimer.cxx +++ b/vcl/win/app/saltimer.cxx @@ -148,6 +148,8 @@ void CALLBACK SalTimerProc(PVOID data, BOOLEAN) #if OSL_DEBUG_LEVEL > 0 if (!ret) // SEH prevents using SAL_WARN here? fputs("ERROR: PostMessage() failed! ", stderr); +#else + (void)ret; #endif } __except(WinSalInstance::WorkaroundExceptionHandlingInUSER32Lib(GetExceptionCode(), GetExceptionInformation()))