(OSX) Get rid of unused variable warning in net_http.c

This commit is contained in:
Twinaphex 2015-01-23 08:25:56 +01:00
parent 9c2a5ba5e2
commit 25d9d7459b

View File

@ -97,6 +97,8 @@ static int net_http_new_socket(const char * domain, int port)
getaddrinfo_rarch(domain, portstr, &hints, &addr);
if (!addr)
return -1;
(void)i;
fd = socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol);