mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-16 01:30:29 +01: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:
parent
10a1b51e65
commit
c48c97cd37
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue