[PATCH libXi] Remove superfluous assignment of lib->classes in XIQueryDevices.
Peter Hutterer
peter.hutterer at who-t.net
Wed Sep 28 21:00:48 PDT 2011
A few lines south from here we malloc lib->classes, this assignment is a
leftover from 225071e2e67fb65a0258397212f9826c9b25e078.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/XIQueryDevice.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c
index 464ab4d..af2f27a 100644
--- a/src/XIQueryDevice.c
+++ b/src/XIQueryDevice.c
@@ -78,7 +78,6 @@ XIQueryDevice(Display *dpy, int deviceid, int *ndevices_return)
lib->use = wire->use;
lib->attachment = wire->attachment;
lib->enabled = wire->enabled;
- lib->classes = (XIAnyClassInfo**)&lib[1];
nclasses = wire->num_classes;
ptr += sizeof(xXIDeviceInfo);
--
1.7.6
More information about the xorg-devel
mailing list