:: commit 3e899468deac6d87322fdda7368a90e8e96d224f

mintsuki <mintsuki@protonmail.com> — 2025-02-25 18:06

parents: 84981d6ca6

protos/efi: Comment out unused debug function devpath_print() to avoid warning

diff --git a/common/protos/chainload.c b/common/protos/chainload.c
index 1c0fdd46..cc104afa 100644
--- a/common/protos/chainload.c
+++ b/common/protos/chainload.c
@@ -200,6 +200,7 @@ void bios_chainload_volume(struct volume *p) {
 
 #elif defined (UEFI)
 
+/*
 static void devpath_print(EFI_DEVICE_PATH_PROTOCOL *DevicePath) {
     for (;;) {
         uint8_t type = DevicePath->Type;
@@ -222,6 +223,7 @@ static void devpath_print(EFI_DEVICE_PATH_PROTOCOL *DevicePath) {
         }
     }
 }
+*/
 
 static size_t get_devpath_len(EFI_DEVICE_PATH_PROTOCOL *devpath) {
     size_t len = 0;
tab: 248 wrap: offon