From: Matthew Fernandez Date: Fri, 8 Jul 2022 00:24:05 +0000 (-0700) Subject: dotgen edgelblcmpfn: remove unnecessary casts X-Git-Tag: 5.0.1~32^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c679dc2661393acb563bfee027e1ef80e0b5897;p=graphviz dotgen edgelblcmpfn: remove unnecessary casts --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index bf9213c09..bc8de6884 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1025,11 +1025,10 @@ transformf (pointf p, pointf del, int flip) */ static int edgelblcmpfn(edge_t** ptr0, edge_t** ptr1) { - edge_t *e0, *e1; pointf sz0, sz1; - e0 = (edge_t *) * ptr0; - e1 = (edge_t *) * ptr1; + edge_t *e0 = *ptr0; + edge_t *e1 = *ptr1; if (ED_label(e0)) { if (ED_label(e1)) {