diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-19 15:58:06 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-19 15:58:06 +1000 |
commit | 21ff2ca7d1a771f6dcecb5b73dc1031f77c9dd69 (patch) | |
tree | d7d10d87150982354f7404df934740bdfa2199f0 | |
parent | c67f191d5bc1a4a130f89743a3ce35ee06c90f85 (diff) |
Remove unused assignment
dev is our list iterator below, this is a dead assignment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86libinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 9b84609..1277a70 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c @@ -2092,7 +2092,7 @@ static inline DeviceIntPtr xf86libinput_find_device_for_tool(InputInfoPtr pInfo, struct libinput_tablet_tool *tool) { - struct xf86libinput *dev = pInfo->private; + struct xf86libinput *dev; struct xf86libinput *driver_data = pInfo->private; struct xf86libinput_device *shared_device = driver_data->shared_device; uint64_t serial = libinput_tablet_tool_get_serial(tool); |