remove double trailing semicolons

This commit is contained in:
XhmikosR 2013-01-22 11:24:53 +02:00 committed by Daniel Marjamäki
parent f86e83d813
commit 645126fb8e
2 changed files with 3 additions and 3 deletions

View File

@ -2263,7 +2263,7 @@ void CheckOther::checkVariableScope()
} else if (tok->str() == "}") {
--indentlevel;
if (indentlevel == 0)
break;;
break;
}
if (indentlevel > 0 && Token::Match(tok, "[{};]")) {

View File

@ -1480,9 +1480,9 @@ void SymbolDatabase::printVariable(const Variable *var, const char *indent) cons
} else
std::cout << std::endl;
std::cout << indent << "_start: " << var->typeStartToken() << " " << var->typeStartToken()->str()
<< " " << _tokenizer->list.fileLine(var->typeStartToken()) << std::endl;;
<< " " << _tokenizer->list.fileLine(var->typeStartToken()) << std::endl;
std::cout << indent << "_end: " << var->typeEndToken() << " " << var->typeEndToken()->str()
<< " " << _tokenizer->list.fileLine(var->typeEndToken()) << std::endl;;
<< " " << _tokenizer->list.fileLine(var->typeEndToken()) << std::endl;
std::cout << indent << "_index: " << var->index() << std::endl;
std::cout << indent << "_access: " <<
(var->isPublic() ? "Public" :