Suppressed compiler warnings

This commit is contained in:
Jack Andersen 2014-03-14 20:08:10 -05:00
parent 78083879a4
commit 3b74b89769
2 changed files with 4 additions and 3 deletions

View File

@ -387,12 +387,12 @@ quantize (JCOEFPTR coef_block, DCTELEM * divisors, DCTELEM * workspace)
temp = -temp;
product = (UDCTELEM2)(temp + corr) * recip;
product >>= shift + sizeof(DCTELEM)*8;
temp = product;
temp = (DCTELEM)product;
temp = -temp;
} else {
product = (UDCTELEM2)(temp + corr) * recip;
product >>= shift + sizeof(DCTELEM)*8;
temp = product;
temp = (DCTELEM)product;
}
output_ptr[i] = (JCOEF) temp;

View File

@ -1176,6 +1176,7 @@ transpose_critical_parameters (j_compress_ptr dstinfo)
* We try to adjust the Tags ExifImageWidth and ExifImageHeight if possible.
*/
#if 0
LOCAL(void)
adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
JDIMENSION new_width, JDIMENSION new_height)
@ -1325,7 +1326,7 @@ adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
offset += 12;
} while (--number_of_tags);
}
#endif
/* Adjust output image parameters as needed.
*