From: Matthew Fernandez Date: Wed, 6 Apr 2022 02:37:51 +0000 (-0700) Subject: Poppler plugin gvloadimage_poppler_load: remove open coded 'NULL' X-Git-Tag: 4.0.0~123^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2774abe43e718bd4ccf9cd4df9e1052e2e021b9a;p=graphviz Poppler plugin gvloadimage_poppler_load: remove open coded 'NULL' --- diff --git a/plugin/poppler/gvloadimage_poppler.c b/plugin/poppler/gvloadimage_poppler.c index b90dac898..8e85fdbb5 100644 --- a/plugin/poppler/gvloadimage_poppler.c +++ b/plugin/poppler/gvloadimage_poppler.c @@ -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); }