From b2d716c34054bde22b6e455b689cc2bdf218cea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 31 Oct 2010 19:14:27 +0100 Subject: [PATCH] tcp: Remove dead assignment --- gst/tcp/gsttcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/tcp/gsttcp.c b/gst/tcp/gsttcp.c index 5e8aae7c4d..894fcb8791 100644 --- a/gst/tcp/gsttcp.c +++ b/gst/tcp/gsttcp.c @@ -241,7 +241,7 @@ gst_tcp_read_buffer (GstElement * this, int socket, GstPoll * fdset, } /* ask how much is available for reading on the socket */ - if ((ret = ioctl (socket, FIONREAD, &readsize)) < 0) + if (ioctl (socket, FIONREAD, &readsize) < 0) goto ioctl_error; if (readsize == 0)