]> granicus.if.org Git - graphviz/commitdiff
Janitor - fix NULL return value
authorellson <devnull@localhost>
Wed, 30 Apr 2008 18:40:50 +0000 (18:40 +0000)
committerellson <devnull@localhost>
Wed, 30 Apr 2008 18:40:50 +0000 (18:40 +0000)
plugin/rsvg/gvloadimage_rsvg.c

index 962064b74258ec5995fdbdd57b78f152d54e85c9..155eb5f2efbb730fda6f3a946d459fe71e3b65b6 100644 (file)
@@ -72,7 +72,7 @@ static RsvgHandle* gvloadimage_rsvg_load(GVJ_t * job, usershape_t *us)
 
     if (!rsvgh) { /* read file into cache */
        if (!gvusershape_file_access(us))
-           return;
+           return NULL;
         switch (us->type) {
             case FT_SVG: