From 74c81106d231295ca0d4e8afdfb347ae1e9fb8a9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 16 Aug 2014 15:50:27 +0200 Subject: [PATCH] avformat/udp: remove unneeded variable initialization Found-by: James Darnley Signed-off-by: Michael Niedermayer --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 8412eebad5..e87cd140ba 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -325,7 +325,7 @@ static int udp_socket_create(UDPContext *s, struct sockaddr_storage *addr, socklen_t *addr_len, const char *localaddr) { int udp_fd = -1; - struct addrinfo *res0 = NULL, *res = NULL; + struct addrinfo *res0, *res; int family = AF_UNSPEC; if (((struct sockaddr *) &s->dest_addr)->sa_family)