]> granicus.if.org Git - graphviz/commitdiff
Poppler plugin gvloadimage_poppler_load: remove open coded 'NULL'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 6 Apr 2022 02:37:51 +0000 (19:37 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 9 Apr 2022 18:20:30 +0000 (11:20 -0700)
plugin/poppler/gvloadimage_poppler.c

index b90dac8983ea96f9b5017dc027b9ade4b83378e3..8e85fdbb5b9971ec122bcf8456fb4c6d5d2e7acd 100644 (file)
@@ -63,7 +63,7 @@ static PopplerDocument* gvloadimage_poppler_load(GVJ_t * job, usershape_t *us)
                    absolute = g_strdup (us->name);
                } else {
                    gchar *dir = g_get_current_dir ();
-                   absolute = g_build_filename (dir, us->name, (gchar *) 0);
+                   absolute = g_build_filename(dir, us->name, NULL);
                    free (dir);
                }