From 094f0380c12db26b61fb611862a39a9738dcab54 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 29 Nov 2015 20:21:39 +0100 Subject: [PATCH] kax_analyzer_c: remove unused variable --- src/common/kax_analyzer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/kax_analyzer.cpp b/src/common/kax_analyzer.cpp index 10bb06359..139344398 100644 --- a/src/common/kax_analyzer.cpp +++ b/src/common/kax_analyzer.cpp @@ -916,7 +916,6 @@ kax_analyzer_c::ensure_front_seek_head_links_to(unsigned int seek_head_idx) { mxdebug_if(m_debug, boost::format("ensure_front_seek_head_links_to start\n")); boost::optional first_seek_head_idx; - int first_cluster_idx{-1}; for (unsigned int data_idx = 0, end = m_data.size(); end > data_idx; ++data_idx) { auto const &data = *m_data[data_idx]; @@ -927,10 +926,8 @@ kax_analyzer_c::ensure_front_seek_head_links_to(unsigned int seek_head_idx) { first_seek_head_idx.reset(data_idx); - } else if (Is(data.m_id)) { - first_cluster_idx = data_idx; + } else if (Is(data.m_id)) break; - } } // This seek head is not located at the start. If there is another