From ba0ca5d087c58a786eecf89b90209809cd882f76 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 25 Jun 2019 19:18:31 +0200 Subject: [PATCH] addons/misra.py: Fix comparison instead of assignment (#1920) --- addons/misra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/misra.py b/addons/misra.py index 00b5a3a7a..a3f4d6c02 100755 --- a/addons/misra.py +++ b/addons/misra.py @@ -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