[miniupnpc] Value stored to 'fd_flags' is never read

This commit is contained in:
Dragos Oancea 2020-01-31 14:35:04 +00:00
parent d9bec17d16
commit 90a3391c3c
1 changed files with 1 additions and 3 deletions

View File

@ -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)