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 */