From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: dotgen make_flat_adj_edges: remove shadowing of 'n' variable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba704106b4ef11ad46ca5ec13c817b2ad70d973b;p=graphviz dotgen make_flat_adj_edges: remove shadowing of 'n' variable --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index deac45338..68b098bef 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1263,10 +1263,9 @@ make_flat_adj_edges(graph_t* g, edge_t** edges, int ind, int cnt, edge_t* e0, rightx = ND_coord(hn).x; leftx = ND_coord(tn).x; if (GD_flip(g)) { - node_t* n; - n = tn; + node_t *tmp = tn; tn = hn; - hn = n; + hn = tmp; } auxt = cloneNode(subg, tn); auxh = cloneNode(auxg, hn);