X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjpeg%2Flibijg%2Fjdmerge.c;h=7a235959126955f8ac9f124e23972fbf76530ef7;hb=c4220b95e9d5e902a7468e408435bf6dea4950eb;hp=d5508698c135f566790fa001ef95695c1dd7ac5b;hpb=8c2e140c99ed3c497ddb53ec9fbf2708c3a1b341;p=gdcm.git diff --git a/src/jpeg/libijg/jdmerge.c b/src/jpeg/libijg/jdmerge.c index d5508698..7a235959 100644 --- a/src/jpeg/libijg/jdmerge.c +++ b/src/jpeg/libijg/jdmerge.c @@ -151,8 +151,7 @@ merged_2v_upsample (j_decompress_ptr cinfo, my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; JSAMPROW work_ptrs[2]; JDIMENSION num_rows; /* number of rows returned to caller */ - - in_row_groups_avail = 0; + (void)in_row_groups_avail; if (upsample->spare_full) { /* If we have a spare row saved from a previous cycle, just return it. */ @@ -200,9 +199,7 @@ merged_1v_upsample (j_decompress_ptr cinfo, /* 1:1 vertical sampling case: much easier, never need a spare row. */ { my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; - - in_row_groups_avail = 0; - out_rows_avail = 0; + (void)in_row_groups_avail;(void)out_rows_avail; /* Just do the upsampling. */ (*upsample->upmethod) (cinfo, input_buf, *in_row_group_ctr,