From f21ea601b06eff25afdae97b3c13a833eb7d1844 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 25 Mar 2008 16:17:45 +0000 Subject: [PATCH] Janitor - fix "warning: 'return' with no value, in function returning non-void" --- plugin/gd/gvloadimage_gd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gd/gvloadimage_gd.c b/plugin/gd/gvloadimage_gd.c index ececad48c..e51439d97 100644 --- a/plugin/gd/gvloadimage_gd.c +++ b/plugin/gd/gvloadimage_gd.c @@ -53,7 +53,7 @@ static gdImagePtr gd_loadimage(GVJ_t * job, usershape_t *us) } if (!us->data) { /* read file into cache */ if (!gvusershape_file_access(us)) - return; + return NULL; switch (us->type) { #if 0 case FT_GD: -- 2.50.1