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..
|
// No filename set yet..
|
||||||
if (func.filename.empty()) {
|
if (func.filename.empty()) {
|
||||||
func.filename = tokenizer.getFiles()->at(0);
|
func.filename = tokenizer.getFiles().at(0);
|
||||||
}
|
}
|
||||||
// Multiple files => filename = "+"
|
// Multiple files => filename = "+"
|
||||||
else if (func.filename != tokenizer.getFiles()->at(0)) {
|
else if (func.filename != tokenizer.getFiles().at(0)) {
|
||||||
//func.filename = "+";
|
//func.filename = "+";
|
||||||
func.usedOtherFile |= func.usedSameFile;
|
func.usedOtherFile |= func.usedSameFile;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue