[vlc-commits] Remove dead code (and infinite loop) (cid #1049331)

Rémi Duraffort git at videolan.org
Mon Jul 22 17:51:27 CEST 2013


vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 17:29:33 2013 +0200| [5cc8fe72f9e9470c83fe23d3003b60eca9c12cfd] | committer: Jean-Baptiste Kempf

Remove dead code (and infinite loop) (cid #1049331)

(cherry picked from commit 59c76c6e6444afd0879cc9130008b538cf38fa1b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=5cc8fe72f9e9470c83fe23d3003b60eca9c12cfd
---

 src/network/tls.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/network/tls.c b/src/network/tls.c
index aec93d4..8874e70 100644
--- a/src/network/tls.c
+++ b/src/network/tls.c
@@ -231,7 +231,6 @@ vlc_tls_t *vlc_tls_ClientSessionCreate (vlc_tls_creds_t *crd, int fd,
             break;
         }
     }
-    while (val > 0);
 
     if (val != 0)
     {



More information about the vlc-commits mailing list