• Cyril Brulebois's avatar
    fb: Mark some variables as unused. · 3a54da8b
    Cyril Brulebois authored
     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:100:21: warning: variable 'stipYoff' set but not used [-Wunused-but-set-variable]
     | fbfill.c:100: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: 's avatarJeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: 's avatarCyril Brulebois <kibi@debian.org>
     Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
    3a54da8b
Name
Last commit
Last update
..
GL Loading commit data...
Xext Loading commit data...
Xi Loading commit data...
composite Loading commit data...
damageext Loading commit data...
dbe Loading commit data...
dix Loading commit data...
fb Loading commit data...
hw Loading commit data...
include Loading commit data...
mfb Loading commit data...
mi Loading commit data...
miext Loading commit data...
os Loading commit data...
randr Loading commit data...
record Loading commit data...
render Loading commit data...
xfixes Loading commit data...
xkb Loading commit data...
Imakefile Loading commit data...
Xserver.man Loading commit data...
fix-miregion Loading commit data...
fix-miregion-private Loading commit data...
fix-region Loading commit data...