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