parent
939b42df06
commit
24c6d92667
|
@ -608,7 +608,7 @@ void CheckOther::checkRedundantAssignment()
|
||||||
|
|
||||||
// TODO nonlocal variables are not tracked entirely.
|
// TODO nonlocal variables are not tracked entirely.
|
||||||
const bool nonlocal = it->second->variable() && nonLocalVolatile(it->second->variable());
|
const bool nonlocal = it->second->variable() && nonLocalVolatile(it->second->variable());
|
||||||
|
|
||||||
// Warnings are inconclusive if there are possible side effects or if variable is not
|
// Warnings are inconclusive if there are possible side effects or if variable is not
|
||||||
// tracked perfectly.
|
// tracked perfectly.
|
||||||
const bool inconclusive = possibleSideEffects | nonlocal;
|
const bool inconclusive = possibleSideEffects | nonlocal;
|
||||||
|
|
Loading…
Reference in New Issue