summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-12-06 00:07:34 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-12-06 00:09:50 +0100
commit8fb242abc9132fe4c230457870e63d3fdb691493 (patch)
treeb2cc9d9c2d3878daefc9f00f8deb7130d70b053f /src/core
parent11754a348610327c7aa0659ec41f9cb5296fc396 (diff)
core: remove unused variable
Diffstat (limited to 'src/core')
-rw-r--r--src/core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 074e93ffe2..e345552f24 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -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)