]> granicus.if.org Git - graphviz/commitdiff
Remove 1 -Wunused-parameter warning in agrefstrdump when -DDEBUG
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 27 Aug 2020 17:06:13 +0000 (19:06 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 7 Sep 2020 13:42:17 +0000 (15:42 +0200)
lib/cgraph/refstr.c

index 1ba98176a75a09bb39a5ddd6ff4ed1972894a3e7..0aaa7032464b28af2905d000c86146cf90759a9e 100644 (file)
@@ -206,6 +206,7 @@ static int refstrprint(Dict_t * dict, void *ptr, void *user)
 
 void agrefstrdump(Agraph_t * g)
 {
+    NOTUSED(g);
     dtwalk(Refdict_default, refstrprint, 0);
 }
 #endif