summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-12-08 05:58:15 (GMT)
committerPeter Hutterer <peter.hutterer@who-t.net>2008-12-12 01:43:32 (GMT)
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 01feb0e..4c846eb 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;