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/opengl/win/WinDeviceInfo.cxx | |
parent | b7e7d2d1b1620c326e9cc2f22e41bfd4604480ca (diff) |
loplugin:casttovoid (clang-cl): vcl
Change-Id: I4c54f7edc0422382e1cd7fca95c2e7ab2b4bab1c
Diffstat (limited to 'vcl/opengl/win/WinDeviceInfo.cxx')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 3 |
1 files changed, 1 insertions, 2 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; } |