From f17bf8b33411bfcc0edfd7b0fd71052fa6a2365f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Jan 2008 15:56:40 +0100 Subject: [PATCH] do not return nothing on errors --- draw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/draw.c b/draw.c index d661682d..db9623c5 100644 --- a/draw.c +++ b/draw.c @@ -298,10 +298,7 @@ draw_get_image_size(const char *filename) surface = cairo_image_surface_create_from_png(filename); if((cairo_st = cairo_surface_status(surface))) - { warn("failed to get image size %s: %s\n", filename, cairo_status_to_string(cairo_st)); - return; - } else { cairo_image_surface_get_width(surface);