mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 10:11:43 +00:00
os: drop duplicate nested ifdef TCPCONN
This #ifdef is always true, since two lines above it's already
checked that TCPCONN is defined.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1539>
(cherry picked from commit 88b2257cc4)
This commit is contained in:
committed by
Alan Coopersmith
parent
0c3fb1ea21
commit
eede6c93c6
@@ -935,9 +935,7 @@ ResetHosts(const char *display)
|
||||
#if defined(TCPCONN) && (!defined(IPv6) || !defined(AF_INET6))
|
||||
union {
|
||||
struct sockaddr sa;
|
||||
#if defined(TCPCONN)
|
||||
struct sockaddr_in in;
|
||||
#endif /* TCPCONN */
|
||||
} saddr;
|
||||
#endif
|
||||
int family = 0;
|
||||
|
||||
Reference in New Issue
Block a user