]> git.sesse.net Git - vlc/commitdiff
network: Remove an unused variable in udp.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 13:08:10 +0000 (15:08 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 14:43:23 +0000 (16:43 +0200)
src/network/udp.c

index 2bbf4a127de2b557c5a4417fa142c1e34e300463..225eb192de23e060ef6fd80ec3fb8cfb38c620bc 100644 (file)
@@ -164,7 +164,6 @@ static int net_ListenSingle (vlc_object_t *obj, const char *host, int port,
 
     val = -1;
 
-    int fd6 = -1;
     for (const struct addrinfo *ptr = res; ptr != NULL; ptr = ptr->ai_next)
     {
         int fd = net_Socket (obj, ptr->ai_family, ptr->ai_socktype,