From 66760f38eec6e814d48b9c8d1e6cc33712519edb Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Wed, 27 Jul 2011 15:48:40 -0400 Subject: Warning fix. --- src/input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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")) { -- cgit v1.2.3