Tidy up the code for cppcheck style.

This commit is contained in:
Sam Truscott 2014-03-13 16:47:00 +00:00
parent 3d0524ecc6
commit 5dc13f3538
1 changed files with 2 additions and 5 deletions

View File

@ -175,14 +175,11 @@ void CheckUnusedFunctions::parseTokens(const Tokenizer &tokenizer, const char Fi
std::string value;
while(funcToken) {
if (funcToken->str()==",") {
p++;
if (p==index) {
if (++p==index)
break;
}
value = "";
} else {
} else
value += funcToken->str();
}
funcToken = funcToken->next();
}
if (p==index) {