diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-27 16:20:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-15 10:36:36 +1000 |
commit | 5069e053354ad6adfcbb08c962bff93b607dec3d (patch) | |
tree | 979628cad153388df18b556fb516140e8a9e3abb /src/emuWheel.c | |
parent | 0b9fad23a3d464ac064521d0e29f036b0ffdc9b8 (diff) |
Remove unused misc_label and val
evdev.c: In function 'EvdevInitAxesLabels':
evdev.c:2192:11: warning: variable 'misc_label' set but not used
[-Wunused-but-set-variable]
obsolete with 880ad1e19afd83ac115948b67d4049e16cb12df0
emuWheel.c: In function 'EvdevWheelEmuPreInit':
emuWheel.c:252:10: warning: variable 'val' set but not used
[-Wunused-but-set-variable]
obsolete with b0737bdbd1f6e601eb4984b6f4cb49279190984c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/emuWheel.c')
-rw-r--r-- | src/emuWheel.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c index 75df34d..ae894fa 100644 --- a/src/emuWheel.c +++ b/src/emuWheel.c @@ -249,14 +249,10 @@ void EvdevWheelEmuPreInit(InputInfoPtr pInfo) { EvdevPtr pEvdev = (EvdevPtr)pInfo->private; - char val[4]; int wheelButton; int inertia; int timeout; - val[0] = 0; - val[1] = 0; - if (xf86SetBoolOption(pInfo->options, "EmulateWheel", FALSE)) { pEvdev->emulateWheel.enabled = TRUE; } else |