diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-04-28 15:42:18 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-04-28 15:42:18 +0200 |
commit | bf74cd6549903090a62f9ad07033b8ec24ec5828 (patch) | |
tree | e237a6c06073eef2ad2f00bd8ace241090979917 | |
parent | b53374f99b619abd90a7c19d69d37a3298b084d5 (diff) |
unit: Drop unused variables
src/core/unit.c: In function 'unit_coldplug':
src/core/unit.c:2884:18: warning: unused variable 'i' [-Wunused-variable]
Iterator i;
^
src/core/unit.c:2883:15: warning: unused variable 'other' [-Wunused-variable]
Unit *other;
^
-rw-r--r-- | src/core/unit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index b7ab084de9..7ef8dbbf48 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -2880,8 +2880,6 @@ int unit_add_node_link(Unit *u, const char *what, bool wants) { } int unit_coldplug(Unit *u) { - Unit *other; - Iterator i; int r; assert(u); |