mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
xfree86: os-support: bsd: scope "result" variable in xf86OpenConsole()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
2cfb92330f
commit
fd5cd094d1
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user