git: fb3a792a8827 - main - loader.efi: unused variable 'mode'

Toomas Soome tsoome at FreeBSD.org
Sun Jan 17 11:45:10 UTC 2021


The branch main has been updated by tsoome:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb3a792a8827415735dda4ece2028439ce385ffb

commit fb3a792a8827415735dda4ece2028439ce385ffb
Author:     Toomas Soome <tsoome at FreeBSD.org>
AuthorDate: 2021-01-17 11:39:44 +0000
Commit:     Toomas Soome <tsoome at FreeBSD.org>
CommitDate: 2021-01-17 11:39:44 +0000

    loader.efi: unused variable 'mode'
    
    framebuffer.c:707:8: error: unused variable 'mode' [-Wunused-variable]
            u_int mode;
---
 stand/efi/loader/framebuffer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c
index 1650f7da8760..cfbb2a651a8a 100644
--- a/stand/efi/loader/framebuffer.c
+++ b/stand/efi/loader/framebuffer.c
@@ -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 */


More information about the dev-commits-src-all mailing list