fixed regression

This commit is contained in:
Ettl Martin 2012-02-26 13:35:35 +01:00
parent 1747813a8b
commit 013ef6157d
1 changed files with 2 additions and 2 deletions

View File

@ -89,10 +89,10 @@ void CheckUnusedFunctions::parseTokens(const Tokenizer &tokenizer)
// No filename set yet..
if (func.filename.empty()) {
func.filename = tokenizer.getFiles()->at(0);
func.filename = tokenizer.getFiles().at(0);
}
// Multiple files => filename = "+"
else if (func.filename != tokenizer.getFiles()->at(0)) {
else if (func.filename != tokenizer.getFiles().at(0)) {
//func.filename = "+";
func.usedOtherFile |= func.usedSameFile;
}