From: Magnus Jacobsson Date: Sat, 26 Mar 2022 18:54:54 +0000 (+0100) Subject: poly_init: remove useless assignment of P X-Git-Tag: 4.0.0~92^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f9b6bda24e145e10e8934f8dcd3f1a1695b529e;p=graphviz poly_init: remove useless assignment of P P is not read after this before assigning it a new value. --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index b28810f97..8670d1987 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -2182,7 +2182,6 @@ static void poly_init(node_t * n) for (i = 0; i < sides; i++) { /*for each vertex find the bisector */ - P = Q; Q = R; R = vertices[(i + 1) % sides]; alpha = beta;