From ae88326eb4fbcccec35b7af1f74aa0125ef23b8a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 24 Feb 2014 19:32:26 -0800 Subject: [PATCH] Remove no-longer-used header variable in ass parser --- aegisub/src/ass_parser.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/aegisub/src/ass_parser.cpp b/aegisub/src/ass_parser.cpp index 883142b5e..d58627675 100644 --- a/aegisub/src/ass_parser.cpp +++ b/aegisub/src/ass_parser.cpp @@ -129,14 +129,11 @@ void AssParser::AddLine(std::string const& data) { if (data[0] == '[' && data.back() == ']') { // Ugly hacks to allow intermixed v4 and v4+ style sections const std::string low = boost::to_lower_copy(data); - std::string header = data; if (low == "[v4 styles]") { - header = "[V4+ Styles]"; version = 0; state = &AssParser::ParseStyleLine; } else if (low == "[v4+ styles]") { - header = "[V4+ Styles]"; version = 1; state = &AssParser::ParseStyleLine; }