[vlc-devel] commit: network: Remove an unused variable in udp. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 16:43:32 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 15:08:10 2009 +0200| [b8f9b36906c848fef445a10756e4b81fca6b9c5d] | committer: Pierre d'Herbemont 

network: Remove an unused variable in udp.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8f9b36906c848fef445a10756e4b81fca6b9c5d
---

 src/network/udp.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/network/udp.c b/src/network/udp.c
index 2bbf4a1..225eb19 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -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,




More information about the vlc-devel mailing list