Skip to content

Commit 3ae1126

Browse files
committed
hide not-used warning
1 parent d52b988 commit 3ae1126

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/conversion.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,11 +506,12 @@ conversion_make_repaint( Conversion *conv, IMAGE *in )
506506

507507
/* 7 is sRGB.
508508
509-
FIXME ... should let other displays be used here, see
510-
../scraps/calibrate.[hc]
509+
this is all deprecated and unused now with vips-7.31 and later
510+
tag as unused to stop gcc complaints
511511
512512
*/
513-
struct im_col_display *display = im_col_displays( 7 );
513+
struct im_col_display *display __attribute__ ((unused)) =
514+
im_col_displays( 7 );
514515

515516
/* Do we do colorimetric type conversions? Look for
516517
* interpret-type-toggle.

0 commit comments

Comments
 (0)