Commit 4b069257 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fixed unused variable in HLS code.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent b78f3f06
...@@ -436,7 +436,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename ...@@ -436,7 +436,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename
}; };
vector<Segment> segments; vector<Segment> segments;
char buffer[1024]; char buffer[1024];
int line = 1;
const regex blank_re (R"(\s*(#.*)?)"); const regex blank_re (R"(\s*(#.*)?)");
while (fgets (buffer, 1024, in_file)) while (fgets (buffer, 1024, in_file))
{ {
...@@ -460,7 +459,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename ...@@ -460,7 +459,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename
segment.name = s; segment.name = s;
segments.push_back (segment); segments.push_back (segment);
} }
line++;
} }
for (auto& segment : segments) for (auto& segment : segments)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment