From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: dotgen make_flat_bottom_edges: remove shadowing of 'splines' global X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44582858e0fe6ccfc157296a485ed97e7c42f20d;p=graphviz dotgen make_flat_bottom_edges: remove shadowing of 'splines' global --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 68b098bef..8f8ebc18a 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1477,7 +1477,7 @@ make_flat_labeled_edge(graph_t* g, spline_info_t* sp, path* P, edge_t* e, int et */ static void make_flat_bottom_edges(graph_t* g, spline_info_t* sp, path * P, edge_t ** edges, int - ind, int cnt, edge_t* e, int splines) + ind, int cnt, edge_t* e, int use_splines) { node_t *tn, *hn; int j, i, r; @@ -1534,7 +1534,7 @@ make_flat_bottom_edges(graph_t* g, spline_info_t* sp, path * P, edge_t ** edges, pointf *ps = NULL; int pn = 0; - if (splines) ps = routesplines(P, &pn); + if (use_splines) ps = routesplines(P, &pn); else ps = routepolylines(P, &pn); if (pn == 0) { free(ps);