Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 11:45:10 GMT
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fb3a792a8827 - main - loader.efi: unused variable 'mode'
Message-ID:  <202101171145.10HBjAHm056996@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tsoome:

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

commit fb3a792a8827415735dda4ece2028439ce385ffb
Author:     Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2021-01-17 11:39:44 +0000
Commit:     Toomas Soome <tsoome@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101171145.10HBjAHm056996>