remove unused parameter to objplpmks
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 24 Mar 2021 02:55:35 +0000 (19:55 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 31 Mar 2021 00:05:59 +0000 (17:05 -0700)
lib/label/xlabels.c

index fb280b7107b236d5ce5663c4ab32b38702c61de3..278701f7fbd5df418690b76b7a75234e9cbc2020 100644 (file)
@@ -214,7 +214,7 @@ static void objplp2rect(object_t * objp, Rect_t * r)
 }
 
 /* compute boundary that encloses all possible label boundaries */
-static Rect_t objplpmks(XLabels_t * xlp, object_t * objp)
+static Rect_t objplpmks(object_t * objp)
 {
     Rect_t rect;
     pointf p;
@@ -553,7 +553,7 @@ static int xlhdxload(XLabels_t * xlp)
        hp = NEW(HDict_t);
 
        hp->d.data = &xlp->objs[i];
-       hp->d.rect = objplpmks(xlp, &xlp->objs[i]);
+       hp->d.rect = objplpmks(&xlp->objs[i]);
        /* center of the labeling area */
        pi.x = hp->d.rect.boundary[0] +
            (hp->d.rect.boundary[2] - hp->d.rect.boundary[0]) / 2;