summaryrefslogtreecommitdiff
path: root/src/core/device.c
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-12-06 06:51:55 +0300
committerGitHub <noreply@github.com>2016-12-06 06:51:55 +0300
commitd0569c7e9af341b7423a61df70f05dbabc0fff1c (patch)
treeb2cc9d9c2d3878daefc9f00f8deb7130d70b053f /src/core/device.c
parent95977da98ca9b300af5ac1212200a3ad36b5ec51 (diff)
parent8fb242abc9132fe4c230457870e63d3fdb691493 (diff)
Merge pull request #4838 from phomes/misc-cleanup2
Misc cleanups
Diffstat (limited to 'src/core/device.c')
-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)