From: Matthew Fernandez Date: Thu, 17 Jun 2021 00:53:55 +0000 (-0700) Subject: remove unused parameter from getPos X-Git-Tag: 2.48.0~41^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b0253d6db6473f931792671de1fdd657e32d7b3;p=graphviz remove unused parameter from getPos --- diff --git a/lib/sfdpgen/sfdpinit.c b/lib/sfdpgen/sfdpinit.c index a782a741a..8c2d18c67 100644 --- a/lib/sfdpgen/sfdpinit.c +++ b/lib/sfdpgen/sfdpinit.c @@ -57,7 +57,7 @@ static void sfdp_init_graph(Agraph_t * g) /* getPos: */ -static real *getPos(Agraph_t * g, spring_electrical_control ctrl) +static real *getPos(Agraph_t * g) { Agnode_t *n; real *pos = N_NEW(Ndim * agnnodes(g), real); @@ -102,7 +102,7 @@ static void sfdpLayout(graph_t * g, spring_electrical_control ctrl, } else sizes = NULL; - pos = getPos(g, ctrl); + pos = getPos(g); switch (ctrl->method) { case METHOD_SPRING_ELECTRICAL: