]> git.sesse.net Git - vlc/commitdiff
httplive: remove write-only variable
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 27 Aug 2013 16:45:29 +0000 (19:45 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Wed, 4 Sep 2013 10:54:10 +0000 (13:54 +0300)
modules/stream_filter/httplive.c

index 472c26183852db50f31b376a26af1c7a0a8e2a95..ef14b801b8c7d036707fab072e3ae716291e15e8 100644 (file)
@@ -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)