diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-02-25 04:49:11 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-08 10:37:19 +0900 |
commit | f9cd02afd1dd2fda167df0dbb3a7347b999e4517 (patch) | |
tree | a9be09925577f8f6bcbf5f70a4e8ecbde68e19d8 /src/imageutils/transupp.c | |
parent | e00293c122b5f29d0790e6edcbdffc49e3449df9 (diff) | |
download | gwenview-f9cd02afd1dd2fda167df0dbb3a7347b999e4517.tar.gz gwenview-f9cd02afd1dd2fda167df0dbb3a7347b999e4517.zip |
Suppress several warnings
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 430301a436a5526961c95810cd1d9057956a6d08)
Diffstat (limited to 'src/imageutils/transupp.c')
-rw-r--r-- | src/imageutils/transupp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/imageutils/transupp.c b/src/imageutils/transupp.c index 099fade..0ede0db 100644 --- a/src/imageutils/transupp.c +++ b/src/imageutils/transupp.c @@ -2329,6 +2329,7 @@ jtransform_adjust_parameters (j_decompress_ptr srcinfo, jvirt_barray_ptr *src_coef_arrays, jpeg_transform_info *info) { + (void) srcinfo; /* unused */ /* If force-to-grayscale is requested, adjust destination parameters */ if (info->force_grayscale) { /* We use jpeg_set_colorspace to make sure subsidiary settings get fixed @@ -2455,6 +2456,8 @@ jtransform_execute_transformation (j_decompress_ptr srcinfo, GLOBAL(void) jcopy_markers_setup (j_decompress_ptr srcinfo, JCOPY_OPTION option) { + (void) srcinfo; /* maybe unused */ + (void) option; /* maybe unused */ #ifdef SAVE_MARKERS_SUPPORTED int m; @@ -2481,6 +2484,7 @@ GLOBAL(void) jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, JCOPY_OPTION option) { + (void) option; /* unused */ jpeg_saved_marker_ptr marker; /* In the current implementation, we don't actually need to examine the @@ -2522,4 +2526,4 @@ jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, } } -#endif // JPEG_LIB_VERSION >= 80
\ No newline at end of file +#endif // JPEG_LIB_VERSION >= 80 |