diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-08-20 18:23:48 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-08-26 03:44:23 +0000 |
commit | f26f17c66a714a226d83dd45bd760288eff3de32 (patch) | |
tree | 0d640f1cb8932bf3a8c6d2c61c9758972bf09f00 /mi/mibitblt.c | |
parent | 9929f64ec8140b5734e9b97822d0f548a4c9c29a (diff) |
treewide: mark pGC->ops->CopyArea() calls not using result as void
We alread have several of these calls, that aren't interested in result value,
explicitly casting to void. Fixing this up for the remaining ones.
This is helpful for the human reader as well as quality analysis tools.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1648>
Diffstat (limited to 'mi/mibitblt.c')
-rw-r--r-- | mi/mibitblt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mibitblt.c b/mi/mibitblt.c index 0b13e49e4..dbcd94c99 100644 --- a/mi/mibitblt.c +++ b/mi/mibitblt.c @@ -465,7 +465,7 @@ miOpqStipDrawable(DrawablePtr pDraw, GCPtr pGC, RegionPtr prgnSrc, gcv[0].val = GXinvert; ChangeGC(NullClient, pGCT, GCFunction, gcv); ValidateGC((DrawablePtr) pPixmap, pGCT); - (*pGCT->ops->CopyArea) ((DrawablePtr) pPixmap, (DrawablePtr) pPixmap, + (void) (*pGCT->ops->CopyArea) ((DrawablePtr) pPixmap, (DrawablePtr) pPixmap, pGCT, 0, 0, w + srcx, h, 0, 0); /* Swap foreground and background colors on the GC for the drawable. |