grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 5/8] efi/linux: Silence warning


From: Vladimir Serbinenko
Subject: [PATCH 5/8] efi/linux: Silence warning
Date: Wed, 11 Sep 2024 12:41:22 +0300

---
 grub-core/loader/efi/linux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c
index bfbd95aee..bcb39c40a 100644
--- a/grub-core/loader/efi/linux.c
+++ b/grub-core/loader/efi/linux.c
@@ -55,6 +55,7 @@ static bool initrd_use_loadfile2 = false;
 static grub_guid_t load_file2_guid = GRUB_EFI_LOAD_FILE2_PROTOCOL_GUID;
 static grub_guid_t device_path_guid = GRUB_EFI_DEVICE_PATH_GUID;
 
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
 static initrd_media_device_path_t initrd_lf2_device_path = {
   {
     {
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]