protos/linux: Fix unused variable warning for use_64_bit_proto

This commit is contained in:
Mintsuki
2025-09-21 15:51:22 +02:00
parent 652136dc5d
commit ef93a5aa69

View File

@@ -304,7 +304,9 @@ noreturn void linux_direct_load(char *config, char *cmdline) {
if ((kernel_file = uri_open(kernel_path)) == NULL)
panic(true, "linux: Failed to open kernel with path `%#`. Is the path correct?", kernel_path);
#if defined (UEFI) && defined (__x86_64__)
bool use_64_bit_proto = false;
#endif
uint32_t signature;
fread(kernel_file, &signature, 0x202, sizeof(uint32_t));