fix two trivial compiler warnings
This commit is contained in:
parent
de796417cb
commit
0b23128ff6
@ -57,7 +57,8 @@ im_exr2vips( const char *filename, IMAGE *out )
|
||||
#ifdef HAVE_OPENEXR
|
||||
return( vips__openexr_read( filename, out ) );
|
||||
#else
|
||||
vips_error( "im_exr2vips", _( "no OpenEXR support in your libvips" ) );
|
||||
vips_error( "im_exr2vips",
|
||||
"%s", _( "no OpenEXR support in your libvips" ) );
|
||||
|
||||
return( -1 );
|
||||
#endif /*HAVE_OPENEXR*/
|
||||
|
@ -53,7 +53,7 @@ im_magick2vips( const char *filename, IMAGE *out )
|
||||
return( vips__magick_read( filename, out, TRUE ) );
|
||||
#else
|
||||
vips_error( "im_magick2vips",
|
||||
_( "no libMagick support in your libvips" ) );
|
||||
"%s", _( "no libMagick support in your libvips" ) );
|
||||
|
||||
return( -1 );
|
||||
#endif /*HAVE_MAGICK*/
|
||||
|
Loading…
Reference in New Issue
Block a user