fixed regression
This commit is contained in:
parent
1747813a8b
commit
013ef6157d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue