vcl/skia/osx/gdiimpl.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 62a0eb9b088818239c4d2fa16f84e356a63389b1 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Wed Jul 10 14:47:55 2024 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Jul 10 17:38:46 2024 +0200 loplugin:casttovoid Change-Id: I07f5220c44077ddb7737d00a8dc5e598a00c3c59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170310 Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> Tested-by: Jenkins diff --git a/vcl/skia/osx/gdiimpl.cxx b/vcl/skia/osx/gdiimpl.cxx index ffe1ebc42d65..6afedb2d8025 100644 --- a/vcl/skia/osx/gdiimpl.cxx +++ b/vcl/skia/osx/gdiimpl.cxx @@ -46,11 +46,8 @@ struct SnapshotImageData }; } -static void SnapshotImageDataCallback(void* pInfo, const void* pData, size_t nSize) +static void SnapshotImageDataCallback(void* pInfo, const void*, size_t) { - (void)pData; - (void)nSize; - if (pInfo) delete static_cast<SnapshotImageData*>(pInfo); }