From fabaf9ae2550f9f3713675017635ca1aa5571ea9 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 23 Feb 2023 09:50:26 +0100 Subject: [PATCH] bootctl: drop unneeded initialization --- src/boot/bootctl-status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3