fix a warning if tiff is disabled

This commit is contained in:
John Cupitt 2018-04-10 15:14:09 +01:00
parent 15abbbe986
commit f1f2a9de55
1 changed files with 1 additions and 1 deletions

View File

@ -54,6 +54,7 @@
static int
tiff2vips( const char *name, IMAGE *out, gboolean header_only )
{
#ifdef HAVE_TIFF
char filename[FILENAME_MAX];
char mode[FILENAME_MAX];
char *p, *q;
@ -84,7 +85,6 @@ tiff2vips( const char *name, IMAGE *out, gboolean header_only )
* malloc if all we are doing is looking at fields.
*/
#ifdef HAVE_TIFF
if( !header_only &&
!seq &&
!vips__istifftiled( filename ) &&