summaryrefslogtreecommitdiff
path: root/vcl/win/app
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@collabora.co.uk>2024-02-26 10:53:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-26 16:51:20 +0100
commite986447db7d6991c5551933b605101a86f3537d2 (patch)
tree9d7d0c3e606df235ac3c28c7389538baf2b7a988 /vcl/win/app
parent2a031dd6f4b70d6675e47be52e0fbc9b7150b4bf (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/win/app')
-rw-r--r--vcl/win/app/saltimer.cxx2
1 files changed, 2 insertions, 0 deletions
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!\n", stderr);
+#else
+ (void)ret;
#endif
}
__except(WinSalInstance::WorkaroundExceptionHandlingInUSER32Lib(GetExceptionCode(), GetExceptionInformation()))