kdrive: fix "set but not used" warnings
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 15 Feb 2013 01:19:08 +0000 (11:19 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 6 Mar 2013 00:19:27 +0000 (10:19 +1000)
commit4149ee8ec0193acbf3812c7ee2627b93b9a89997
treec18b641afcf0b887328ab5ad2085008c33249316
parent44fc062f85df7288c17d2d64b73aa4957b91fd6d
kdrive: fix "set but not used" warnings

kinput.c: In function 'KdEnqueueKeyboardEvent':
kinput.c:1845:16: warning: variable 'ctrl' set but not used
kinput.c:1844:17: warning: variable 'keyc' set but not used

kinput.c: In function 'KdEnqueuePointerEvent':
kinput.c:1887:12: warning: variable 'ms' set but not used

kxv.c: In function 'KdXVDisable':
kxv.c:1181:19: warning: variable 'ScreenPriv' set but not used

mouse.c: In function 'ps2SkipInit':
mouse.c:444:9: warning: variable 'skipping' set but not used
mouse.c: In function 'ps2Init':
mouse.c:473:10: warning: variable 'waiting' set but not used
mouse.c:472:9: warning: variable 'skipping' set but not used

fbdev.c: In function 'fbdevRandRSetConfig':
fbdev.c:468:19: warning: variable 'newheight' set but not used
fbdev.c:468:9: warning: variable 'newwidth' set but not used

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
hw/kdrive/fbdev/fbdev.c
hw/kdrive/linux/mouse.c
hw/kdrive/src/kinput.c
hw/kdrive/src/kxv.c