From: Matthew Fernandez Date: Tue, 22 Feb 2022 16:14:28 +0000 (-0800) Subject: pathplan connecttris: [nfc] remove unnecessary use of the comma operator X-Git-Tag: 3.0.0~5^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc2d5881054878c8cc9146b777313aef92ff0e2c;p=graphviz pathplan connecttris: [nfc] remove unnecessary use of the comma operator --- diff --git a/lib/pathplan/shortest.c b/lib/pathplan/shortest.c index d2bc7a10e..ec20b63b8 100644 --- a/lib/pathplan/shortest.c +++ b/lib/pathplan/shortest.c @@ -378,7 +378,8 @@ static void connecttris(int tri1, int tri2) for (ei = 0; ei < 3; ei++) { for (ej = 0; ej < 3; ej++) { - tri1p = &tris[tri1], tri2p = &tris[tri2]; + tri1p = &tris[tri1]; + tri2p = &tris[tri2]; if ((tri1p->e[ei].pnl0p->pp == tri2p->e[ej].pnl0p->pp && tri1p->e[ei].pnl1p->pp == tri2p->e[ej].pnl1p->pp) || (tri1p->e[ei].pnl0p->pp == tri2p->e[ej].pnl1p->pp &&