From: Matthew Fernandez Date: Sat, 6 Nov 2021 00:28:42 +0000 (-0700) Subject: NodePrint: remove an unnecessary cast X-Git-Tag: 2.50.0~38^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38887b6d72912ae789f7349acabdf46018e14c07;p=graphviz NodePrint: remove an unnecessary cast --- diff --git a/lib/neatogen/overlap.c b/lib/neatogen/overlap.c index 0c9519b78..f5573518a 100644 --- a/lib/neatogen/overlap.c +++ b/lib/neatogen/overlap.c @@ -112,11 +112,8 @@ static int NodeComp(const void* a,const void* b) { } static void NodePrint(const void* a) { - const scan_point *aa; - - aa = (const scan_point *) a; + const scan_point *aa = a; fprintf(stderr, "node {%d, %f, %d}\n", aa->node, aa->x, aa->status); - } static void InfoPrint(void* a) {