mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 21:02:13 +00:00
xfree86: os-support: bsd fix warning on unused label on NetBSD
The label is only used on FreeBSD, so compiling on NetBSD gives a
warning on unused label.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1447>
(cherry picked from commit 8ce76acddf)
This commit is contained in:
committed by
Alan Coopersmith
parent
10a1b51e65
commit
c48c97cd37
@@ -251,7 +251,9 @@ xf86OpenConsole(void)
|
||||
sleep(1);
|
||||
}
|
||||
#endif
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
acquire_vt:
|
||||
#endif
|
||||
if (!xf86Info.ShareVTs) {
|
||||
/*
|
||||
* now get the VT
|
||||
|
||||
Reference in New Issue
Block a user