From fd5cd094d1a3a41831fb7eb9114a565da162d52b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 13 Jan 2026 14:07:54 +0100 Subject: [PATCH] xfree86: os-support: bsd: scope "result" variable in xf86OpenConsole() Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/os-support/bsd/bsd_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index f88323d8dc..0e08c6263c 100644 --- a/hw/xfree86/os-support/bsd/bsd_init.c +++ b/hw/xfree86/os-support/bsd/bsd_init.c @@ -149,7 +149,6 @@ xf86OpenConsole(void) xf86ConsOpen_t *driver; #if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT) - int result; vtmode_t vtmode; #endif @@ -227,6 +226,7 @@ xf86OpenConsole(void) #endif acquire_vt: if (!xf86Info.ShareVTs) { + int result; /* * now get the VT */