From 34075dba7c0e34bcc2836fc3856f231272a2d8b2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 14 Dec 2007 22:35:23 +0000 Subject: [PATCH] fixed unused parameter warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/quantize.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index cb30f64599..57b311ec3a 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -1621,7 +1621,9 @@ bool wxQuantize::Quantize(const wxImage& src, wxImage& dest, delete[] g; delete[] b; } -#endif // wxUSE_PALETTE +#else // !wxUSE_PALETTE + wxUnusedVar(pPalette); +#endif // wxUSE_PALETTE/!wxUSE_PALETTE return true; } -- 2.50.0