]> granicus.if.org Git - graphviz/commitdiff
free_attr: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 11 Nov 2021 04:18:16 +0000 (20:18 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Nov 2021 02:37:31 +0000 (18:37 -0800)
cmd/tools/gmlparse.y

index 8aa0469d4b7e739ded53de7ae3d2c50a351e6525..0b3e04129c355f682ae6d00635b1c87c79eb3efc 100644 (file)
@@ -406,6 +406,9 @@ alistitem : NAME INTEGER { $$ = mkAttr ($1, 0, INTEGER, $2, 0); }
 static void
 free_attr (Dt_t*d, gmlattr* p, Dtdisc_t* ds)
 {
+    (void)d;
+    (void)ds;
+
     if (!p) return;
     if ((p->kind == LIST) && p->u.lp)
        dtclose (p->u.lp);