X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/155ecd4c4221d3bbc7aa93d472d11948f21d21ab..916eabe60eee4adb05387bbf1eaf1915ae5eac18:/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; }