[systemd-commits] src/core
Martin Pitt
martin at kemper.freedesktop.org
Tue Apr 28 06:42:41 PDT 2015
src/core/unit.c | 2 --
1 file changed, 2 deletions(-)
New commits:
commit bf74cd6549903090a62f9ad07033b8ec24ec5828
Author: Martin Pitt <martin.pitt at ubuntu.com>
Date: Tue Apr 28 15:42:18 2015 +0200
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;
^
diff --git a/src/core/unit.c b/src/core/unit.c
index b7ab084..7ef8dbb 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);
More information about the systemd-commits
mailing list