diff --git a/src/core/unit.c b/src/core/unit.c index 21ad434f9d7..016b1e3d869 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -959,7 +959,7 @@ static int unit_add_target_dependencies(Unit *u) { Unit *target; Iterator i; unsigned k; - int r; + int r = 0; assert(u);