summaryrefslogtreecommitdiff
path: root/sanei/sanei_jpeg.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
commite0d94cf4d39395df1e2c6bb4d967200298c13881 (patch)
treebe5c7cace6697afc753c152d13ad5145d0884a42 /sanei/sanei_jpeg.c
parent527bedac30eb120915718eb7997e6dacd583512e (diff)
parent84357741a6a6e6430f199b2c3f7498e0e97da9ad (diff)
Update upstream source from tag 'upstream/1.2.1'
Update to upstream version '1.2.1' with Debian dir a9bb43f754a5c9a361b076af3635cc767b7e652e
Diffstat (limited to 'sanei/sanei_jpeg.c')
-rw-r--r--sanei/sanei_jpeg.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sanei/sanei_jpeg.c b/sanei/sanei_jpeg.c
index 7b66dae..d27701f 100644
--- a/sanei/sanei_jpeg.c
+++ b/sanei/sanei_jpeg.c
@@ -57,8 +57,8 @@ typedef ppm_dest_struct *ppm_dest_ptr;
METHODDEF (void)
sanei_jpeg_start_output_ppm (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo)
{
- cinfo = cinfo;
- dinfo = dinfo;
+ (void) cinfo;
+ (void) dinfo;
/* header image is supplied for us */
}
@@ -66,8 +66,8 @@ sanei_jpeg_start_output_ppm (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo)
METHODDEF (void)
sanei_jpeg_finish_output_ppm (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo)
{
- cinfo = cinfo;
- dinfo = dinfo;
+ (void) cinfo;
+ (void) dinfo;
/* nothing to do */
}
@@ -85,9 +85,9 @@ sanei_jpeg_put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
JDIMENSION rows_supplied, char *data)
{
ppm_dest_ptr dest = (ppm_dest_ptr) dinfo;
- cinfo = cinfo;
- dinfo = dinfo;
- rows_supplied = rows_supplied;
+ (void) cinfo;
+ (void) dinfo;
+ (void) rows_supplied;
memcpy (data, dest->iobuffer, dest->buffer_width);
}
@@ -107,9 +107,9 @@ sanei_jpeg_copy_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
register JSAMPROW ptr;
register JDIMENSION col;
- cinfo = cinfo;
- dinfo = dinfo;
- rows_supplied = rows_supplied;
+ (void) cinfo;
+ (void) dinfo;
+ (void) rows_supplied;
ptr = dest->pub.buffer[0];
bufferptr = dest->iobuffer;
@@ -140,7 +140,7 @@ sanei_jpeg_put_demapped_rgb (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
register JSAMPROW color_map2 = cinfo->colormap[2];
register JDIMENSION col;
- rows_supplied = rows_supplied;
+ (void) rows_supplied;
ptr = dest->pub.buffer[0];
bufferptr = dest->iobuffer;
@@ -165,7 +165,7 @@ sanei_jpeg_put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
register JSAMPROW color_map = cinfo->colormap[0];
register JDIMENSION col;
- rows_supplied = rows_supplied;
+ (void) rows_supplied;
ptr = dest->pub.buffer[0];
bufferptr = dest->iobuffer;