addons/misra.py: Fix comparison instead of assignment (#1920)
This commit is contained in:
parent
d1386112a9
commit
ba0ca5d087
|
@ -924,7 +924,7 @@ class MisraChecker:
|
|||
e_token = scope.bodyStart.next
|
||||
while e_token != scope.bodyEnd:
|
||||
if e_token.str == '(':
|
||||
e_token.str == e_token.link
|
||||
e_token.str = e_token.link
|
||||
continue
|
||||
if not e_token.previous.str in ',{':
|
||||
e_token = e_token.next
|
||||
|
|
Loading…
Reference in New Issue