diff --git a/src/boot/bootctl-status.c b/src/boot/bootctl-status.c index 1b17712a90..e25cd963ae 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);