diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index df58bf6..73a3085 100644 --- a/src/input.c +++ b/src/input.c @@ -296,7 +296,7 @@ close_device(struct device *d) static void device_added(struct udev_device *udev_device) { - const char *path, *key, *value, *class; + const char *path, *key, *class; struct udev_list_entry *set, *entry; path = udev_device_get_devnode(udev_device); @@ -317,7 +317,6 @@ device_added(struct udev_device *udev_device) key = udev_list_entry_get_name(entry); if (!key) continue; - value = udev_list_entry_get_value(entry); if (!strcmp(key, "ID_INPUT_KEY")) { open_device(path); } else if (!strcmp(key, "ID_INPUT_MOUSE")) { |