summaryrefslogtreecommitdiff
path: root/src/XIQueryDevice.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-09-28 11:16:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-10 10:23:33 +1000
commit7ca05f3094958c04e8f78a786061124c58f8e1f3 (patch)
tree75a2762787754aa775d28bfb2607f9ec5e3141df /src/XIQueryDevice.c
parente97c3dd00369b47af067e30e910335b199a2f147 (diff)
Remove superfluous assignment of lib->classes in XIQueryDevices.
A few lines south from here we malloc lib->classes, this assignment is a leftover from 225071e2e67fb65a0258397212f9826c9b25e078. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/XIQueryDevice.c')
-rw-r--r--src/XIQueryDevice.c1
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);