mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
Clean out some unused variables.
This commit is contained in:
parent
533a0b7f7f
commit
94046d2d74
@ -66,10 +66,8 @@ struct http_connection_t
|
||||
static int net_http_new_socket(const char * domain, int port)
|
||||
{
|
||||
char portstr[16];
|
||||
int fd, i = 1;
|
||||
#ifdef _WIN32
|
||||
u_long mode = 1;
|
||||
#else
|
||||
int fd;
|
||||
#ifndef _WIN32
|
||||
struct timeval timeout;
|
||||
#endif
|
||||
struct addrinfo hints, *addr = NULL;
|
||||
@ -84,8 +82,6 @@ static int net_http_new_socket(const char * domain, int port)
|
||||
if (getaddrinfo_rarch(domain, portstr, &hints, &addr) < 0)
|
||||
return -1;
|
||||
|
||||
(void)i;
|
||||
|
||||
fd = socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol);
|
||||
|
||||
#ifndef _WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user