]> granicus.if.org Git - graphviz/commitdiff
smyrna set_boundaries: remove unused 't' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Nov 2021 17:30:05 +0000 (09:30 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Nov 2021 17:12:14 +0000 (09:12 -0800)
cmd/smyrna/topviewfuncs.c

index be026ac468f8cef4f2c205eb8dda25c93f12d091..c84b0e5fa4b6ae748c143b1bded69ff034cf9063 100644 (file)
@@ -47,7 +47,7 @@ static xdot *parseXdotwithattrs(void *e)
 
 }
 
-static void set_boundaries(Agraph_t * g, topview * t)
+static void set_boundaries(Agraph_t * g)
 {
     Agnode_t *v;
     Agsym_t* pos_attr = GN_pos(g);
@@ -852,7 +852,7 @@ void updateSmGraph(Agraph_t * g,topview* t)
     aginit(g, AGNODE, "nodeRec", sizeof(nodeRec), 0);
     aginit(g, AGEDGE, "edgeRec", sizeof(edgeRec), 0);
 
-    set_boundaries(g,t);
+    set_boundaries(g);
     view->Topview=t;