diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-16 15:50:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-16 15:58:40 +0200 |
commit | 74c81106d231295ca0d4e8afdfb347ae1e9fb8a9 (patch) | |
tree | e7a3783540fa6c62a639abac91a4ecac45eff15d /libavformat/udp.c | |
parent | 7916053cedb4975faf54710d1edd5409b0ca5410 (diff) | |
download | ffmpeg-74c81106d231295ca0d4e8afdfb347ae1e9fb8a9.tar.gz |
avformat/udp: remove unneeded variable initialization
Found-by: James Darnley <james.darnley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r-- | libavformat/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |