summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-12-08 15:58:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2008-12-12 11:43:32 +1000
commitfb2a8d0e59a3d187255538f6add22ec67551507a (patch)
treed0ed05c8db0cc30a23d52cb4b7f1340cadabe32c
parentd961abb59f0a8bee4bd11b1540aa43ff83cddbb8 (diff)
Xi: silence compiler warning
Don't mix declarations and statements.
-rw-r--r--Xi/exevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 01feb0e46..4c846eb7d 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -850,8 +850,8 @@ UpdateDeviceState(DeviceIntPtr device, xEvent* xE, int count)
* dev = event
* event = delta
*/
- axisvals = v->axisVal;
int delta;
+ axisvals = v->axisVal;
if (v->mode == Relative) /* device reports relative */
change = TRUE;