vcl/win/app/saltimer.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 14372e301f0198067e4965ac1a234d9f9d21e3b2 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Dec 14 22:32:28 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Dec 14 23:19:32 2020 +0100
Silence warning C4189: local variable is initialized but not referenced Change-Id: Ie36d7c4dfee5115b5909ed58a0b16b367e05866d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107734 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/win/app/saltimer.cxx b/vcl/win/app/saltimer.cxx index 571988df4d23..1ccab54e96c8 100644 --- a/vcl/win/app/saltimer.cxx +++ b/vcl/win/app/saltimer.cxx @@ -62,8 +62,10 @@ void WinSalTimer::ImplStop() void WinSalTimer::ImplStart( sal_uInt64 nMS ) { +#if !defined NDEBUG SalData* pSalData = GetSalData(); assert( !pSalData->mpInstance || pSalData->mnAppThreadId == GetCurrentThreadId() ); +#endif // DueTime parameter is a DWORD, which is always an unsigned 32bit if (nMS > SAL_MAX_UINT32) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits