]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: drop unneeded initialization 26563/head
authorDavid Tardon <dtardon@redhat.com>
Thu, 23 Feb 2023 08:50:26 +0000 (09:50 +0100)
committerDavid Tardon <dtardon@redhat.com>
Thu, 23 Feb 2023 08:50:26 +0000 (09:50 +0100)
src/boot/bootctl-status.c

index 1b17712a90d6f1ccb9c1237870c89ed65158cfb7..e25cd963ae42fcf1a17a9bc5d7d55001bf833851 100644 (file)
@@ -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);