[vlc-commits] satip: Remove dead code
Hugo Beauzée-Luyssen
git at videolan.org
Wed Nov 22 17:37:33 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Nov 22 16:15:01 2017 +0100| [476ff61846bab006f78c8e2bc774623981f05f25] | committer: Hugo Beauzée-Luyssen
satip: Remove dead code
CID #1372922
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=476ff61846bab006f78c8e2bc774623981f05f25
---
modules/access/satip.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/access/satip.c b/modules/access/satip.c
index 1191671ab2..30563f3407 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -231,9 +231,8 @@ static char *net_readln_timeout(vlc_object_t *obj, int fd, int timeout, bool *in
};
int ret;
- while((ret = poll(&pfd, 1, timeout)) < 0);
- if (ret < 0)
- goto error;
+ while((ret = poll(&pfd, 1, timeout)) < 0)
+ ;
val = recv(fd, buf + len, size - len, MSG_PEEK);
if (val <= 0)
More information about the vlc-commits
mailing list