mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +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>
This commit is contained in:
committed by
Marge Bot
parent
9d6a1d1118
commit
88b2257cc4
@@ -942,9 +942,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