diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2011-07-27 15:48:40 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2011-07-27 15:49:03 -0400 |
commit | 66760f38eec6e814d48b9c8d1e6cc33712519edb (patch) | |
tree | b1df390dec0831b9e5d0b4a6d5c10841b1b7d9dd /src | |
parent | 03a9a10a4575f002b32bc7ad80e32aaeca75d1d6 (diff) |
Warning fix.
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")) { |