]> granicus.if.org Git - graphviz/commitdiff
arrowEndClip: remove unnecessary use of the comma operator
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 17 Apr 2022 17:00:55 +0000 (19:00 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 15 May 2022 06:52:00 +0000 (08:52 +0200)
lib/common/arrows.c

index baa31c1e4855bff487928efd350911343067dadb..4d6d06421a7353dd9411f2448b4635b0b8eeecb9 100644 (file)
@@ -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;
     }