]> granicus.if.org Git - graphviz/commitdiff
completeregularpath: squash a -Wunused-parameter warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 7 Oct 2021 03:50:21 +0000 (20:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Oct 2021 18:15:11 +0000 (11:15 -0700)
lib/dotgen/dotsplines.c

index 4245552e76d2bea17a609ff78a30c3c68acb6d82..415b7bd9b0bad502245de17702ae7d2e29a3c22c 100644 (file)
@@ -2004,6 +2004,9 @@ completeregularpath(path * P, edge_t * first, edge_t * last,
                    pathend_t * tendp, pathend_t * hendp, boxf * boxes,
                    int boxn, int flag)
 {
+    // this implementation of completeregularpath ignores the flag
+    (void)flag;
+
     edge_t *uleft, *uright, *lleft, *lright;
     int i, fb, lb;
     splines *spl;