From: David Tardon Date: Thu, 23 Feb 2023 08:50:26 +0000 (+0100) Subject: bootctl: drop unneeded initialization X-Git-Tag: v254-rc1~1177^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fabaf9ae2550f9f3713675017635ca1aa5571ea9;p=thirdparty%2Fsystemd.git bootctl: drop unneeded initialization --- diff --git a/src/boot/bootctl-status.c b/src/boot/bootctl-status.c index 1b17712a90d..e25cd963ae4 100644 --- a/src/boot/bootctl-status.c +++ b/src/boot/bootctl-status.c @@ -719,7 +719,7 @@ static int cleanup_orphaned_files( _cleanup_(hashmap_free_free_keyp) Hashmap *known_files = NULL; _cleanup_free_ char *full = NULL, *p = NULL; _cleanup_close_ int dir_fd = -EBADF; - int r = -1; + int r; assert(config); assert(root);