mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 04:27:25 +00:00
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:
commit
ba2acf9b2c
@ -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…
x
Reference in New Issue
Block a user