mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup
This commit is contained in:
parent
f1098d8f6a
commit
b7447b1dfc
@ -706,9 +706,8 @@ static bool init_tcp_socket(netplay_t *netplay, const char *server,
|
||||
char port_buf[16] = {0};
|
||||
bool ret = false;
|
||||
const struct addrinfo *tmp_info = NULL;
|
||||
struct addrinfo hints, *res = NULL;
|
||||
|
||||
memset(&hints, 0, sizeof(hints));
|
||||
struct addrinfo *res = NULL;
|
||||
struct addrinfo hints = {0};
|
||||
|
||||
#if defined(_WIN32) || defined(HAVE_SOCKET_LEGACY)
|
||||
hints.ai_family = AF_INET;
|
||||
|
Loading…
x
Reference in New Issue
Block a user