X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/155ecd4c4221d3bbc7aa93d472d11948f21d21ab..9113ffaf5602317f5f9bb212969d2dcaa18a484e:/src/common/quantize.cpp 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; }