diff tcp.c @ 683:095009fc2f35 libavformat

kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author michael
date Thu, 24 Feb 2005 19:08:50 +0000
parents 056991ab9f10
children 1fc7b1637f90
line wrap: on
line diff
--- a/tcp.c	Thu Feb 24 15:18:02 2005 +0000
+++ b/tcp.c	Thu Feb 24 19:08:50 2005 +0000
@@ -57,8 +57,7 @@
     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;