From: Matthew Fernandez Date: Wed, 15 Dec 2021 05:49:31 +0000 (-0800) Subject: bend: [nfc] remove unnecessary parens X-Git-Tag: 3.0.0~124^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=111b0c36d2c84e1a67eb6ba4c56352b7ca8d8262;p=graphviz bend: [nfc] remove unnecessary parens --- diff --git a/lib/common/routespl.c b/lib/common/routespl.c index bfebb9f59..dc612342c 100644 --- a/lib/common/routespl.c +++ b/lib/common/routespl.c @@ -1071,8 +1071,8 @@ static void bend(pointf spl[4], pointf centroid) midpt.x = (spl[0].x + spl[3].x)/2.0; midpt.y = (spl[0].y + spl[3].y)/2.0; - dx = (spl[3].x - spl[0].x); - dy = (spl[3].y - spl[0].y); + dx = spl[3].x - spl[0].x; + dy = spl[3].y - spl[0].y; dist = hypot(dx, dy); r = dist/5.0; {