fix a warning if tiff is disabled
This commit is contained in:
parent
15abbbe986
commit
f1f2a9de55
@ -54,6 +54,7 @@
|
|||||||
static int
|
static int
|
||||||
tiff2vips( const char *name, IMAGE *out, gboolean header_only )
|
tiff2vips( const char *name, IMAGE *out, gboolean header_only )
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_TIFF
|
||||||
char filename[FILENAME_MAX];
|
char filename[FILENAME_MAX];
|
||||||
char mode[FILENAME_MAX];
|
char mode[FILENAME_MAX];
|
||||||
char *p, *q;
|
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.
|
* malloc if all we are doing is looking at fields.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_TIFF
|
|
||||||
if( !header_only &&
|
if( !header_only &&
|
||||||
!seq &&
|
!seq &&
|
||||||
!vips__istifftiled( filename ) &&
|
!vips__istifftiled( filename ) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user