diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-21 14:03:27 +1000 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2012-03-30 14:51:36 -0700 |
commit | a095f7ae96a353073add83e78f88f29d854d289d (patch) | |
tree | 4de63e5aa63879475edecaf79bee48c6431ca8f2 | |
parent | d0a6d9bcefaf56aa63708ea69e5c399dbf266d63 (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>
(cherry picked from commit 9c3bd3ae652af386b6821b197d24528f20ba867d)
-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; |