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>
This commit is contained in:
parent
6eea4f0b8c
commit
8ce76acddf
|
@ -255,7 +255,9 @@ xf86OpenConsole(void)
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
acquire_vt:
|
acquire_vt:
|
||||||
|
#endif
|
||||||
if (!xf86Info.ShareVTs) {
|
if (!xf86Info.ShareVTs) {
|
||||||
/*
|
/*
|
||||||
* now get the VT
|
* now get the VT
|
||||||
|
|
Loading…
Reference in New Issue