From: Vadim Zeitlin Date: Fri, 14 Dec 2007 22:35:23 +0000 (+0000) Subject: fixed unused parameter warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/34075dba7c0e34bcc2836fc3856f231272a2d8b2 fixed unused parameter warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }