mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 02:30:06 +01:00
There's no use for the values set through the various macro calls (fbGetDrawable and fbGetDrawablePixmap), so mark those variables as unused. The following warnings go away accordingly: | CC libfb_la-fb24_32.lo | fb24_32.c: In function 'fb24_32ReformatTile': | fb24_32.c:544:19: warning: variable 'newYoff' set but not used [-Wunused-but-set-variable] | fb24_32.c:544:10: warning: variable 'newXoff' set but not used [-Wunused-but-set-variable] | fb24_32.c:543:19: warning: variable 'oldYoff' set but not used [-Wunused-but-set-variable] | fb24_32.c:543:10: warning: variable 'oldXoff' set but not used [-Wunused-but-set-variable] | CC libfb_la-fbfill.lo | fbfill.c: In function 'fbFill': | fbfill.c:72:21: warning: variable 'stipYoff' set but not used [-Wunused-but-set-variable] | fbfill.c:72:11: warning: variable 'stipXoff' set but not used [-Wunused-but-set-variable] | fbfill.c💯21: warning: variable 'stipYoff' set but not used [-Wunused-but-set-variable] | fbfill.c💯11: warning: variable 'stipXoff' set but not used [-Wunused-but-set-variable] | fbfill.c:142:20: warning: variable 'tileYoff' set but not used [-Wunused-but-set-variable] | fbfill.c:142:10: warning: variable 'tileXoff' set but not used [-Wunused-but-set-variable] | CC libfb_la-fbgc.lo | fbgc.c: In function 'fbPadPixmap': | fbgc.c:92:19: warning: variable 'yOff' set but not used [-Wunused-but-set-variable] | fbgc.c:92:13: warning: variable 'xOff' set but not used [-Wunused-but-set-variable] | fbgc.c: In function 'fbCanEvenStipple': | fbgc.c:166:23: warning: variable 'stipYoff' set but not used [-Wunused-but-set-variable] | fbgc.c:166:13: warning: variable 'stipXoff' set but not used [-Wunused-but-set-variable] | CC libfb_la-fbpush.lo | fbpush.c: In function 'fbPushPixels': | fbpush.c:238:20: warning: variable 'stipYoff' set but not used [-Wunused-but-set-variable] | fbpush.c:238:10: warning: variable 'stipXoff' set but not used [-Wunused-but-set-variable] Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Cyril Brulebois <kibi@debian.org> |
||
|---|---|---|
| .. | ||
| fb.h | ||
| fb24_32.c | ||
| fb24_32.h | ||
| fballpriv.c | ||
| fbarc.c | ||
| fbbits.c | ||
| fbbits.h | ||
| fbblt.c | ||
| fbbltone.c | ||
| fbcmap_mi.c | ||
| fbcopy.c | ||
| fbfill.c | ||
| fbfillrect.c | ||
| fbfillsp.c | ||
| fbgc.c | ||
| fbgetsp.c | ||
| fbglyph.c | ||
| fbimage.c | ||
| fbline.c | ||
| fboverlay.c | ||
| fboverlay.h | ||
| fbpict.c | ||
| fbpict.h | ||
| fbpixmap.c | ||
| fbpoint.c | ||
| fbpush.c | ||
| fbrop.h | ||
| fbscreen.c | ||
| fbseg.c | ||
| fbsetsp.c | ||
| fbsolid.c | ||
| fbstipple.c | ||
| fbtile.c | ||
| fbtrap.c | ||
| fbutil.c | ||
| fbwindow.c | ||
| Makefile.am | ||
| wfbrename.h | ||