From b2ad10a818d73d32370da7f8cc9aa62bdcee31b9 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 22 Nov 2021 14:05:17 +0000 Subject: [PATCH] trivial: Work around two false positives when compiling with gcc -Os --- plugins/uefi-capsule/fu-uefi-bootmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c index 327ffb837..1e487f51b 100644 --- a/plugins/uefi-capsule/fu-uefi-bootmgr.c +++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c @@ -135,8 +135,8 @@ fu_uefi_bootmgr_verify_fwupd(GError **error) static gboolean fu_uefi_setup_bootnext_with_dp(const guint8 *dp_buf, guint8 *opt, gssize opt_size, GError **error) { - const gchar *desc; - const gchar *name; + const gchar *desc = NULL; + const gchar *name = NULL; efi_load_option *loadopt = NULL; gsize var_data_size = 0; guint32 attr;