From 7ca05f3094958c04e8f78a786061124c58f8e1f3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 28 Sep 2011 11:16:42 +1000 Subject: 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 Reviewed-by: Chase Douglas --- src/XIQueryDevice.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/XIQueryDevice.c') 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); -- cgit v1.2.3