[miniupnpc] Value stored to 'fd_flags' is never read
This commit is contained in:
parent
d9bec17d16
commit
90a3391c3c
|
@ -49,13 +49,11 @@ miniwget2(const char * url, const char * host,
|
||||||
SOCKET s;
|
SOCKET s;
|
||||||
#else
|
#else
|
||||||
int s;
|
int s;
|
||||||
#endif
|
|
||||||
int fd_flags;
|
int fd_flags;
|
||||||
|
#endif
|
||||||
struct sockaddr_in dest;
|
struct sockaddr_in dest;
|
||||||
struct hostent *hp;
|
struct hostent *hp;
|
||||||
|
|
||||||
fd_flags = 0;
|
|
||||||
|
|
||||||
*size = 0;
|
*size = 0;
|
||||||
hp = gethostbyname(host);
|
hp = gethostbyname(host);
|
||||||
if(hp==NULL)
|
if(hp==NULL)
|
||||||
|
|
Loading…
Reference in New Issue