X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67d6888d421207045dc6ce9c9762727118c92e2..68698f0308f5c46966b7de12b34f68ec23dd3ec8:/src/common/quantize.cpp diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index a29113876e..d3d894f41a 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -42,6 +42,7 @@ #endif #ifndef WX_PRECOMP + #include "wx/palette.h" #endif #include "wx/image.h" @@ -334,7 +335,7 @@ typedef my_cquantizer * my_cquantize_ptr; void prescan_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf, - JSAMPARRAY output_buf, int num_rows) + JSAMPARRAY WXUNUSED(output_buf), int num_rows) { my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; register JSAMPROW ptr; @@ -1284,7 +1285,7 @@ finish_pass1 (j_decompress_ptr cinfo) void -finish_pass2 (j_decompress_ptr cinfo) +finish_pass2 (j_decompress_ptr WXUNUSED(cinfo)) { /* no work */ }