]> granicus.if.org Git - graphviz/commitdiff
squash some -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 28 Apr 2021 04:08:29 +0000 (21:08 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 5 May 2021 00:54:32 +0000 (17:54 -0700)
cmd/tools/dijkstra.c

index c7c20a4ed458fc4760dd2b690e20b2f3970fc8ac..f17d01fa48fad35c0840de78df50ac11437ec0a0 100644 (file)
@@ -76,6 +76,9 @@ static void setdist(Agnode_t * n, double dist)
 
 static int cmpf(Dt_t * d, void *key1, void *key2, Dtdisc_t * disc)
 {
+    (void)d;
+    (void)disc;
+
     double t;
     t = getdist((Agnode_t *) key1) - getdist((Agnode_t *) key2);
     if (t < 0)