]> granicus.if.org Git - graphviz/commitdiff
Janitor - fix "warning: 'return' with no value, in function returning non-void"
authorellson <devnull@localhost>
Tue, 25 Mar 2008 16:17:45 +0000 (16:17 +0000)
committerellson <devnull@localhost>
Tue, 25 Mar 2008 16:17:45 +0000 (16:17 +0000)
plugin/gd/gvloadimage_gd.c

index ececad48c535eae865b9730154f1b17a88c33811..e51439d97dae22bcab19c82bf2a0f8f0fdc96b53 100644 (file)
@@ -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: