From: Lennart Poettering Date: Mon, 24 Oct 2022 10:22:46 +0000 (+0200) Subject: homed: properly initialize all return params X-Git-Tag: v252-rc3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b1494ad700ca1ac4b5917b0bb97e7dc9fabc2be;p=thirdparty%2Fsystemd.git homed: properly initialize all return params --- diff --git a/src/home/homework-luks.c b/src/home/homework-luks.c index d0fb2d91af6..97fb5a10510 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; }