From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: dotgen cl_vninside: remove redundant casts X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e275dc1bbc1c73dc46224954b16c2ce2ed7ba72a;p=graphviz dotgen cl_vninside: remove redundant casts ebd6191b0eec6e23d96c92aaa06212de339207e3 made these casts no-ops. --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index fcc0dfc87..af66e76d4 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -2379,8 +2379,8 @@ static edge_t *bot_bound(edge_t * e, int side) static int cl_vninside(graph_t * cl, node_t * n) { - return BETWEEN(GD_bb(cl).LL.x, (double)(ND_coord(n).x), GD_bb(cl).UR.x) && - BETWEEN(GD_bb(cl).LL.y, (double)(ND_coord(n).y), GD_bb(cl).UR.y); + return BETWEEN(GD_bb(cl).LL.x, ND_coord(n).x, GD_bb(cl).UR.x) && + BETWEEN(GD_bb(cl).LL.y, ND_coord(n).y, GD_bb(cl).UR.y); } /* All nodes belong to some cluster, which may be the root graph.