Commit 74c81106 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/udp: remove unneeded variable initialization

Found-by: 's avatarJames Darnley <james.darnley@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7916053c
...@@ -325,7 +325,7 @@ static int udp_socket_create(UDPContext *s, struct sockaddr_storage *addr, ...@@ -325,7 +325,7 @@ static int udp_socket_create(UDPContext *s, struct sockaddr_storage *addr,
socklen_t *addr_len, const char *localaddr) socklen_t *addr_len, const char *localaddr)
{ {
int udp_fd = -1; int udp_fd = -1;
struct addrinfo *res0 = NULL, *res = NULL; struct addrinfo *res0, *res;
int family = AF_UNSPEC; int family = AF_UNSPEC;
if (((struct sockaddr *) &s->dest_addr)->sa_family) if (((struct sockaddr *) &s->dest_addr)->sa_family)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment