diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-21 14:03:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-22 11:33:21 +1000 |
commit | 9c3bd3ae652af386b6821b197d24528f20ba867d (patch) | |
tree | df8a1e1ffd6b74e5be43c2457c140cd2197b6a07 /dix | |
parent | 14e3ea730eed344e6ed69c873f918d6f076d13dc (diff) |
dix: fix compiler warning "unused variable 'scr'"
getevents.c: In function 'updateSlaveDeviceCoords':
getevents.c:326:15: warning: unused variable 'scr' [-Wunused-variable]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/getevents.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/getevents.c b/dix/getevents.c index 68bf58c13..260955b0b 100644 --- a/dix/getevents.c +++ b/dix/getevents.c @@ -328,7 +328,6 @@ rescaleValuatorAxis(double coord, AxisInfoPtr from, AxisInfoPtr to, static void updateSlaveDeviceCoords(DeviceIntPtr master, DeviceIntPtr pDev) { - ScreenPtr scr = miPointerGetScreen(pDev); int i; DeviceIntPtr lastSlave; |