From 88730be65153f4a59916d971842fdaed3e0fd72b Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Thu, 24 Feb 2005 19:08:50 +0000 Subject: kill warnings patch by (Måns Rullgård ) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavformat/tcp.c') diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 8ec84ec4b6..33702e0ec0 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -57,8 +57,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) struct sockaddr_in dest_addr; char hostname[1024], *q; int port, fd = -1; - TCPContext *s; - const char *p; + TCPContext *s = NULL; fd_set wfds; int fd_max, ret; struct timeval tv; -- cgit v1.2.3