aboutsummaryrefslogtreecommitdiff
path: root/src/emuWheel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emuWheel.c')
-rw-r--r--src/emuWheel.c4
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