]> granicus.if.org Git - graphviz/commitdiff
gvpack: use C++ style of indicating unused parameters
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 18 Apr 2022 14:46:04 +0000 (07:46 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:49 +0000 (19:12 -0700)
cmd/tools/gvpack.cpp

index 66ac60ac588ef04e40471c6218f86d5e3e6c2665..93ddbe43e8f500e5e4457f5c66471cb7f3709ab5 100644 (file)
@@ -380,11 +380,7 @@ static void cloneCluster(Agraph_t *old, Agraph_t *new_cluster) {
 /* freef:
  * Generic free function for dictionaries.
  */
-static void freef(Dt_t * dt, void * obj, Dtdisc_t * disc)
-{
-    (void)dt;
-    (void)disc;
-
+static void freef(Dt_t*, void *obj, Dtdisc_t*) {
     free(obj);
 }