From bf74cd6549903090a62f9ad07033b8ec24ec5828 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 28 Apr 2015 15:42:18 +0200 Subject: [PATCH] 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; ^ --- src/core/unit.c | 2 -- 1 file changed, 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); -- 2.25.1