]> granicus.if.org Git - graphviz/commitdiff
compoundEdges: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 3 Dec 2021 02:05:07 +0000 (18:05 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 5 Dec 2021 01:15:46 +0000 (17:15 -0800)
This parameter cannot be removed because this function is used as a callback in
some instances that expect its existing calling convention.

lib/fdpgen/clusteredges.c

index 77a6b413169f7cd3c6cc799d7b593e7ac1243c1e..5071f9f4ed3dfbddefc72718999520285841219c 100644 (file)
@@ -250,6 +250,8 @@ static objlist *objectList(edge_t * ep, expand_t* pm)
  */
 int compoundEdges(graph_t * g, expand_t* pm, int edgetype)
 {
+    (void)edgetype;
+
     node_t *n;
     node_t *head;
     edge_t *e;