From 3862b636e4c2ed36ac17e83cea775451fb9423ad Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 10 Jan 2020 05:03:48 +0000 Subject: [PATCH] remove some dbg code accidentally left in, thanks Kleis --- libvips/iofuncs/source.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libvips/iofuncs/source.c b/libvips/iofuncs/source.c index 489a928a..3c286007 100644 --- a/libvips/iofuncs/source.c +++ b/libvips/iofuncs/source.c @@ -103,10 +103,8 @@ vips_source_test_features( VipsSource *source ) /* We'll need a descriptor to test. */ - if( vips_source_unminimise( source ) ) { - printf( "HUGE BANANA!!!\n" ); + if( vips_source_unminimise( source ) ) return( -1 ); - } /* Can we seek this input? * @@ -122,10 +120,8 @@ vips_source_test_features( VipsSource *source ) /* We should be able to get the length of seekable * objects. */ - if( (length = vips_source_length( source )) == -1 ) { - printf( "BANANA!!!\n" ); + if( (length = vips_source_length( source )) == -1 ) return( -1 ); - } source->length = length;