summaryrefslogtreecommitdiffstats
path: root/src/home/homework-luks.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-10-24 12:22:46 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-10-24 15:56:59 +0200
commit3b1494ad700ca1ac4b5917b0bb97e7dc9fabc2be (patch)
tree99f75a91d0de9f981aa804303525e48485a56072 /src/home/homework-luks.c
parentMerge pull request #25100 from weblate/weblate-systemd-master (diff)
downloadsystemd-3b1494ad700ca1ac4b5917b0bb97e7dc9fabc2be.tar.xz
systemd-3b1494ad700ca1ac4b5917b0bb97e7dc9fabc2be.zip
homed: properly initialize all return params
Diffstat (limited to 'src/home/homework-luks.c')
-rw-r--r--src/home/homework-luks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/home/homework-luks.c b/src/home/homework-luks.c
index d0fb2d91af..97fb5a1051 100644
--- a/src/home/homework-luks.c
+++ b/src/home/homework-luks.c
@@ -2661,6 +2661,7 @@ static int prepare_resize_partition(
log_debug("Not rewriting partition table, operating on naked device.");
*ret_disk_uuid = SD_ID128_NULL;
*ret_table = NULL;
+ *ret_partition = NULL;
return 0;
}