Fixing "...."
Change-Id: Id005a7531d546dd43de13b49bcb3e93081c5ad8d Reviewed-on: https://gerrit.libreoffice.org/78679 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
c12c84e6d8
commit
22ef2a15bb
@@ -733,7 +733,7 @@ void UnusedFields::checkIfWrittenTo(const FieldDecl* fieldDecl, const Expr* memb
|
||||
|
||||
// if we're inside a block that looks like
|
||||
// if (fieldDecl)
|
||||
// ....
|
||||
// ...
|
||||
// then writes to this field don't matter, because unless we find another write to this field, this field is dead
|
||||
if (std::find(insideConditionalCheckOfMemberSet.begin(), insideConditionalCheckOfMemberSet.end(), fieldDecl) != insideConditionalCheckOfMemberSet.end())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user