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