From 2b0253d6db6473f931792671de1fdd657e32d7b3 Mon Sep 17 00:00:00 2001
From: Matthew Fernandez <matthew.fernandez@gmail.com>
Date: Wed, 16 Jun 2021 17:53:55 -0700
Subject: [PATCH] remove unused parameter from getPos

---
 lib/sfdpgen/sfdpinit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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:
-- 
2.40.0