Merge pull request #286 from dragos-oancea/miniupnpc_val-never-read

[miniupnpc] Value stored to 'fd_flags' is never read
This commit is contained in:
Andrey Volk 2020-02-01 02:29:56 +04:00 committed by GitHub
commit ba2acf9b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -49,13 +49,11 @@ miniwget2(const char * url, const char * host,
SOCKET s;
#else
int s;
#endif
int fd_flags;
#endif
struct sockaddr_in dest;
struct hostent *hp;
fd_flags = 0;
*size = 0;
hp = gethostbyname(host);
if(hp==NULL)