]> Creatis software - gdcm.git/blobdiff - src/jpeg/libijg/jquant1.c
COMP: Painfully (re)fix all the warnings when compiled with -W -Wall
[gdcm.git] / src / jpeg / libijg / jquant1.c
index 9a0e28442afac9dd31e5b4faf657bebb078fc8c7..a5abd0a8bd500bf4c55ab03cdbf08d16e34b2221 100644 (file)
@@ -246,6 +246,7 @@ output_value (j_decompress_ptr cinfo, int ci, int j, int maxj)
 /* Return j'th output value, where j will range from 0 to maxj */
 /* The output values must fall in 0..MAXJSAMPLE in increasing order */
 {
+  (void)cinfo;(void)ci;
   /* We always provide values 0 and MAXJSAMPLE for each component;
    * any additional values are equally spaced between these limits.
    * (Forcing the upper and lower values to the limits ensures that
@@ -260,6 +261,7 @@ largest_input_value (j_decompress_ptr cinfo, int ci, int j, int maxj)
 /* Return largest input value that should map to j'th output value */
 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */
 {
+  (void)cinfo;(void)ci;
   /* Breakpoints are halfway between values returned by output_value */
   return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj));
 }
@@ -743,6 +745,7 @@ start_pass_1_quant (j_decompress_ptr cinfo, boolean is_pre_scan)
   my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
   size_t arraysize;
   int i;
+  (void)is_pre_scan;
 
   /* Install my colormap. */
   cinfo->colormap = cquantize->sv_colormap;
@@ -797,6 +800,7 @@ start_pass_1_quant (j_decompress_ptr cinfo, boolean is_pre_scan)
 METHODDEF(void)
 finish_pass_1_quant (j_decompress_ptr cinfo)
 {
+  (void)cinfo;
   /* no work in 1-pass case */
 }