From: Matthew Fernandez Date: Thu, 11 Nov 2021 03:57:52 +0000 (-0800) Subject: free_graph: squash -Wunused-parameter warnings X-Git-Tag: 2.50.0~29^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f93da5844fa303c976e89b05decd144abd1336d;p=graphviz free_graph: squash -Wunused-parameter warnings --- diff --git a/cmd/tools/gmlparse.y b/cmd/tools/gmlparse.y index 386f67b3f..33db30238 100644 --- a/cmd/tools/gmlparse.y +++ b/cmd/tools/gmlparse.y @@ -67,6 +67,9 @@ free_edge (Dt_t*d, gmledge* p, Dtdisc_t* ds) static void free_graph (Dt_t*d, gmlgraph* p, Dtdisc_t* ds) { + (void)d; + (void)ds; + if (!p) return; if (p->nodelist) dtclose (p->nodelist);