From: Matthew Fernandez Date: Thu, 3 Nov 2022 01:58:36 +0000 (-0700) Subject: dotgen: remove 'arrow_flags' call whose result is ignored X-Git-Tag: 7.0.1~5^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b52afc146cfc60372903d9f4da33b18df5722a8;p=graphviz dotgen: remove 'arrow_flags' call whose result is ignored --- diff --git a/lib/dotgen/sameport.c b/lib/dotgen/sameport.c index cec9c6c8b..e798001f1 100644 --- a/lib/dotgen/sameport.c +++ b/lib/dotgen/sameport.c @@ -107,7 +107,6 @@ static void sameport(node_t * u, elist * l) int i; double x = 0, y = 0, x1, y1, x2, y2, r; port prt; - int sflag, eflag; /* Compute the direction vector (x,y) of the average direction. We compute with direction vectors instead of angles because else we have to first @@ -167,7 +166,6 @@ static void sameport(node_t * u, elist * l) /* assign one of the ports to every edge */ for (i = 0; i < l->size; i++) { e = l->list[i]; - arrow_flags(e, &sflag, &eflag); for (; e; e = ED_to_virt(e)) { /* assign to all virt edges of e */ for (f = e; f; f = ED_edge_type(f) == VIRTUAL &&