core: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 5 Dec 2016 23:07:34 +0000 (00:07 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 5 Dec 2016 23:09:50 +0000 (00:09 +0100)
src/core/device.c

index 074e93f..e345552 100644 (file)
@@ -418,7 +418,7 @@ static int device_process_new(Manager *m, struct udev_device *dev) {
          * aliases */
         alias = udev_device_get_property_value(dev, "SYSTEMD_ALIAS");
         for (;;) {
-                _cleanup_free_ char *word = NULL, *k = NULL;
+                _cleanup_free_ char *word = NULL;
 
                 r = extract_first_word(&alias, &word, NULL, EXTRACT_QUOTES);
                 if (r == 0)