loader.efi: unused variable 'mode'

framebuffer.c:707:8: error: unused variable 'mode' [-Wunused-variable]
        u_int mode;
This commit is contained in:
Toomas Soome 2021-01-17 13:39:44 +02:00
parent b7ab6832cd
commit fb3a792a88

View File

@ -704,7 +704,6 @@ command_autoresize(int argc, char *argv[])
EFI_UGA_DRAW_PROTOCOL *uga;
char *textmode;
EFI_STATUS status;
u_int mode;
textmode = getenv("hw.vga.textmode");
/* If it's set and non-zero, we'll select a console mode instead */