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:
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;
|
||||
|
|
Loading…
Reference in New Issue