Fix Cppcheck warning

This commit is contained in:
Daniel Marjamäki 2020-01-10 15:04:07 +01:00
parent 729fca8728
commit 797ed88147
1 changed files with 0 additions and 1 deletions

View File

@ -92,7 +92,6 @@ static std::vector<std::string> splitString(const std::string &line)
line.find(">", pos1) != std::string::npos &&
line.find(">", pos1) > pos2) {
int level = 0;
pos2 = pos1;
for (pos2 = pos1; pos2 < line.size(); ++pos2) {
if (line[pos2] == '<')
++level;