From: Costa Shulyupin Date: Wed, 16 Feb 2022 11:06:08 +0000 (+0200) Subject: remove unused argument in getintrsxi X-Git-Tag: 4.0.0~202^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17d11ef51090632a38c3652a6eac7eb2804f6fdc;p=graphviz remove unused argument in getintrsxi --- diff --git a/lib/label/xlabels.c b/lib/label/xlabels.c index b0690f0d0..0e4c4928a 100644 --- a/lib/label/xlabels.c +++ b/lib/label/xlabels.c @@ -230,7 +230,7 @@ static Rect_t objplpmks(object_t * objp) } /* determine the position clp will occupy in intrsx[] */ -static int getintrsxi(XLabels_t * xlp, object_t * op, object_t * cp) +static int getintrsxi(object_t * op, object_t * cp) { int i = -1; xlabel_t *lp = op->lbl, *clp = cp->lbl; @@ -270,7 +270,7 @@ static double recordointrsx(XLabels_t * xlp, object_t * op, object_t * cp, Rect_t * rp, double a, object_t * intrsx[XLNBR]) { - int i = getintrsxi(xlp, op, cp); + int i = getintrsxi(op, cp); if (i < 0) i = 5; if (intrsx[i] != NULL) { @@ -303,7 +303,7 @@ static double recordlintrsx(XLabels_t * xlp, object_t * op, object_t * cp, Rect_t * rp, double a, object_t * intrsx[XLNBR]) { - int i = getintrsxi(xlp, op, cp); + int i = getintrsxi(op, cp); if (i < 0) i = 5; if (intrsx[i] != NULL) {