From c5aa13f96c1c86d7e7eff5aa73727090933c7917 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 17 Apr 2022 19:00:55 +0200 Subject: [PATCH] arrowEndClip: remove unnecessary use of the comma operator --- lib/common/arrows.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/arrows.c b/lib/common/arrows.c index baa31c1e4..4d6d06421 100644 --- a/lib/common/arrows.c +++ b/lib/common/arrows.c @@ -272,7 +272,8 @@ int arrowEndClip(edge_t* e, pointf * ps, int startp, elen = arrow_length(e, eflag); elen2 = elen * elen; - spl->eflag = eflag, spl->ep = ps[endp + 3]; + spl->eflag = eflag; + spl->ep = ps[endp + 3]; if (endp > startp && DIST2(ps[endp], ps[endp + 3]) < elen2) { endp -= 3; } -- 2.40.0