From: ellson Date: Tue, 25 Mar 2008 16:17:45 +0000 (+0000) Subject: Janitor - fix "warning: 'return' with no value, in function returning non-void" X-Git-Tag: LAST_LIBGRAPH~32^2~4445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f21ea601b06eff25afdae97b3c13a833eb7d1844;p=graphviz Janitor - fix "warning: 'return' with no value, in function returning non-void" --- 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: