Skip to content

Commit

Permalink
Fixed unused variable in HLS code.
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
  • Loading branch information
swesterfeld committed Jun 7, 2024
1 parent b78f3f0 commit 4b06925
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hls.cc
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename
};
vector<Segment> segments;
char buffer[1024];
int line = 1;
const regex blank_re (R"(\s*(#.*)?)");
while (fgets (buffer, 1024, in_file))
{
Expand All @@ -460,7 +459,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename
segment.name = s;
segments.push_back (segment);
}
line++;
}
for (auto& segment : segments)
{
Expand Down

0 comments on commit 4b06925

Please sign in to comment.