• 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
..
config Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
BUILD Loading commit data...
CHANGELOG Loading commit data...
COPYING Loading commit data...
ChangeLog.X.org Loading commit data...
Imakefile Loading commit data...
LABEL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.crypto Loading commit data...
RELNOTES Loading commit data...
registry Loading commit data...
x-indent-all.sh Loading commit data...
x-indent.sh Loading commit data...
xf86Date.h Loading commit data...