Misra: Fix endless loop in rule 5.3
This commit is contained in:
parent
efcf71a5dc
commit
f707eceb20
|
@ -292,6 +292,7 @@ def misra_5_3(data):
|
|||
outerScope = innerScope.nestedIn
|
||||
while outerScope:
|
||||
if not outerScope in scopeVars:
|
||||
outerScope = outerScope.nestedIn
|
||||
continue
|
||||
found = False
|
||||
for outerVar in scopeVars[outerScope]:
|
||||
|
|
Loading…
Reference in New Issue