fix build with no IM

we had a stray ImageInfo
This commit is contained in:
John Cupitt 2019-08-30 12:20:12 +01:00
parent 6ea76f9632
commit 23a1636015

View File

@ -48,6 +48,8 @@
#include "pforeign.h"
#include "magick.h"
#if defined(HAVE_MAGICK6) || defined(HAVE_MAGICK7)
/* ImageMagick can't detect some formats, like ICO, by examining the contents --
* ico.c simply does not have a recogniser.
*
@ -88,6 +90,8 @@ magick_sniff_file( ImageInfo *image_info, const char *filename )
magick_sniff_bytes( image_info, bytes, 256 );
}
#endif /*defined(HAVE_MAGICK6) || defined(HAVE_MAGICK7)*/
#ifdef HAVE_MAGICK7
Image *