summaryrefslogtreecommitdiff
path: root/sanei/sanei_jpeg.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:35:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:35:53 +0100
commit84357741a6a6e6430f199b2c3f7498e0e97da9ad (patch)
tree23e8d66ede9506b94c76fb36910ca3c7dd15c74e /sanei/sanei_jpeg.c
parent302276dc1b90cfc972fb726ca94a23b18f4b0088 (diff)
New upstream version 1.2.1upstream/1.2.1upstream
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;