diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-05 10:11:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-05 10:11:53 +0200 |
commit | d3067c9d37fbb4c085b536c13b1ab9875a27df35 (patch) | |
tree | 709d184544a1a49d929316e52cc8ba6c7db3fe7d /vcl | |
parent | b7e7d2d1b1620c326e9cc2f22e41bfd4604480ca (diff) |
loplugin:casttovoid (clang-cl): vcl
Change-Id: I4c54f7edc0422382e1cd7fca95c2e7ab2b4bab1c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 3 | ||||
-rw-r--r-- | vcl/win/gdi/salprn.cxx | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 383cce8d6b98..cb9f1d2943e6 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -36,9 +36,8 @@ namespace { * Beware of the implicit trailing '\0' when using this with string constants. */ template<typename T, size_t N> -size_t ArrayLength(T (&aArr)[N]) +size_t ArrayLength(T (&)[N]) { - (void) aArr; return N; } diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx index 860351c3e990..11731ddd657d 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -1407,7 +1407,6 @@ void WinSalPrinter::markInvalid() // since SEH does not mix with standard exception handling's cleanup static int lcl_StartDocW( HDC hDC, DOCINFOW* pInfo, WinSalPrinter* pPrt ) { - (void) pPrt; int nRet = 0; CATCH_DRIVER_EX_BEGIN; nRet = ::StartDocW( hDC, pInfo ); |