From: Matthew Fernandez Date: Thu, 11 Nov 2021 03:57:24 +0000 (-0800) Subject: free_edge: squash -Wunused-parameter warnings X-Git-Tag: 2.50.0~29^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a83e7ab2c37f25edb0a7147ef13d2322d1ffc96;p=graphviz free_edge: squash -Wunused-parameter warnings --- diff --git a/cmd/tools/gmlparse.y b/cmd/tools/gmlparse.y index ff6f96d02..386f67b3f 100644 --- a/cmd/tools/gmlparse.y +++ b/cmd/tools/gmlparse.y @@ -56,6 +56,9 @@ free_node (Dt_t*d, gmlnode* p, Dtdisc_t* ds) static void free_edge (Dt_t*d, gmledge* p, Dtdisc_t* ds) { + (void)d; + (void)ds; + if (!p) return; if (p->attrlist) dtclose (p->attrlist); free (p);