mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
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;
^
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user