diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-02 22:32:31 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-08 15:03:53 +0200 |
commit | b2a38854fdde296fd2d7da139a29b23a18ab494d (patch) | |
tree | 951326f4d966e01d4f8d4402dc7beb2252560b7a /drivers/unix/socket_helpers.h | |
parent | d1cb73b47a17de830d9474026ffa7b3587cfbc68 (diff) |
Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
Diffstat (limited to 'drivers/unix/socket_helpers.h')
-rw-r--r-- | drivers/unix/socket_helpers.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/unix/socket_helpers.h b/drivers/unix/socket_helpers.h index 3fc0144294..0995e5236f 100644 --- a/drivers/unix/socket_helpers.h +++ b/drivers/unix/socket_helpers.h @@ -64,7 +64,6 @@ static size_t _set_sockaddr(struct sockaddr_storage *p_addr, const IP_Address &p // IPv4 socket with IPv6 address ERR_FAIL_COND_V(!p_ip.is_ipv4(), 0); - uint32_t ipv4 = *((uint32_t *)p_ip.get_ipv4()); struct sockaddr_in *addr4 = (struct sockaddr_in *)p_addr; addr4->sin_family = AF_INET; addr4->sin_port = htons(p_port); // short, network byte order |