[vlc-commits] httplive: remove write-only variable

Ilkka Ollakka git at videolan.org
Thu Sep 12 19:51:58 CEST 2013


vlc/vlc-2.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Aug 27 19:45:29 2013 +0300| [21cfc2ca4541b5d61b50db87fee705dd9bed20f4] | committer: Jean-Baptiste Kempf

httplive: remove write-only variable

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

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

 modules/stream_filter/httplive.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 472c261..ef14b80 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -1003,8 +1003,6 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
 
         /* M3U8 Meta Index file */
         do {
-            bool failed_to_download_stream_m3u8 = false;
-
             /* Next line */
             line = ReadLine(p_begin, &p_read, p_end - p_begin);
             if (line == NULL)
@@ -1043,7 +1041,6 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
                             if (len < 0)
                             {
                                 msg_Warn(s, "failed to read %s, continue for other streams", hls->url);
-                                failed_to_download_stream_m3u8 = true;
 
                                 /* remove stream just added */
                                 if (new_stream_added)



More information about the vlc-commits mailing list