summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/target.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/target.c b/src/core/target.c
index 99a9374e1f..6225df5b0d 100644
--- a/src/core/target.c
+++ b/src/core/target.c
@@ -148,6 +148,7 @@ static int target_serialize(Unit *u, FILE *f, FDSet *fds) {
static int target_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) {
Target *s = TARGET(u);
+ assert(s);
assert(u);
assert(key);
assert(value);