]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[miniupnpc] Value stored to 'fd_flags' is never read 286/head
authorDragos Oancea <dragos@signalwire.com>
Fri, 31 Jan 2020 14:35:04 +0000 (14:35 +0000)
committerDragos Oancea <dragos@signalwire.com>
Fri, 31 Jan 2020 14:35:04 +0000 (14:35 +0000)
libs/miniupnpc/miniwget.c

index b4849e43da90c1ae49d2a460a1f453915d5c05a0..3fa930e313ed242792f4aa8cd4d7e5aa82dd765c 100644 (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)