]> granicus.if.org Git - graphviz/commitdiff
remove unused argument in getintrsxi
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Wed, 16 Feb 2022 11:06:08 +0000 (13:06 +0200)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Mar 2022 15:38:28 +0000 (07:38 -0800)
lib/label/xlabels.c

index b0690f0d05bc02f226c30c51f194e9d66b538283..0e4c4928a38206373b30016802653334e8de7a7b 100644 (file)
@@ -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) {