fixup! Refactor `ostree_sysroot_query_bootloader`
authorWilliam Manley <will@stb-tester.com>
Tue, 27 Oct 2020 13:24:46 +0000 (13:24 +0000)
committerWilliam Manley <will@stb-tester.com>
Tue, 27 Oct 2020 13:24:46 +0000 (13:24 +0000)
src/libostree/ostree-sysroot.c

index 15cbfafb7918752738d3c1d0e9a2f59efbbc19a3..7062a21855c42aac062ec1d747bd0b70cea629f3 100644 (file)
@@ -1345,6 +1345,9 @@ _ostree_sysroot_new_bootloader_by_type (
       /* We never consider zipl as active by default, so it can only be created
        * if it's explicitly requested in the config */
       return (OstreeBootloader*) _ostree_bootloader_zipl_new (sysroot);
+    case CFG_SYSROOT_BOOTLOADER_OPT_AUTO:
+      /* "auto" is handled by ostree_sysroot_query_bootloader so we should
+       * never get here: Fallthrough */
     default:
       g_assert_not_reached ();
     }