summaryrefslogtreecommitdiff
path: root/src/Poly.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-09-10 06:17:40 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2022-09-11 12:26:20 -0400
commitdf5f1f04a7d123a521f0d4bfc88c3b65253491bc (patch)
tree105a766dc2cdf9e13eb9111b6aeba995b440abd9 /src/Poly.c
parentf43df87188375440dbad33d7c0beed2a607b8d1d (diff)
downloadxorg-lib-libXrender-df5f1f04a7d123a521f0d4bfc88c3b65253491bc.tar.gz
use _X_UNUSED for compiler-warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Poly.c')
-rw-r--r--src/Poly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Poly.c b/src/Poly.c
index 731f4a1..aa69eeb 100644
--- a/src/Poly.c
+++ b/src/Poly.c
@@ -89,7 +89,7 @@ XRenderComputeIntersect (XLineFixed *l1, XLineFixed *l2)
static int
XRenderComputeTrapezoids (Edge *edges,
int nedges,
- int winding,
+ int winding _X_UNUSED,
XTrapezoid *traps,
int *ntraps,
int maxtraps)
@@ -237,8 +237,8 @@ XRenderCompositeDoublePoly (Display *dpy,
_Xconst XRenderPictFormat *maskFormat,
int xSrc,
int ySrc,
- int xDst,
- int yDst,
+ int xDst _X_UNUSED,
+ int yDst _X_UNUSED,
_Xconst XPointDouble *fpoints,
int npoints,
int winding)