projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11754a3
)
core: remove unused variable
author
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Mon, 5 Dec 2016 23:07:34 +0000
(
00:07
+0100)
committer
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Mon, 5 Dec 2016 23:09:50 +0000
(
00:09
+0100)
src/core/device.c
patch
|
blob
|
history
diff --git
a/src/core/device.c
b/src/core/device.c
index
074e93f
..
e345552
100644
(file)
--- 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)