summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 21ad434f9d..016b1e3d86 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);