From: Matthew Fernandez Date: Fri, 8 Apr 2022 02:26:34 +0000 (-0700) Subject: mm2gv: remove open coded NULL X-Git-Tag: 4.0.0~57^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa956fe421e1ae19e513e23a1c37bc80393ec317;p=graphviz mm2gv: remove open coded NULL --- diff --git a/cmd/tools/mm2gv.c b/cmd/tools/mm2gv.c index 920299003..61c14500e 100644 --- a/cmd/tools/mm2gv.c +++ b/cmd/tools/mm2gv.c @@ -104,9 +104,9 @@ static Agraph_t *makeDotGraph(SparseMatrix A, char *name, int dim, } if (SparseMatrix_known_undirected(A)) { - g = agopen("G", Agundirected, (Agdisc_t *) 0); + g = agopen("G", Agundirected, NULL); } else { - g = agopen("G", Agdirected, (Agdisc_t *) 0); + g = agopen("G", Agdirected, NULL); } if (with_val) {