diff --git a/addons/cppcheck.py b/addons/cppcheck.py index 23a69ba1d..1649815e0 100644 --- a/addons/cppcheck.py +++ b/addons/cppcheck.py @@ -14,7 +14,7 @@ def reportError(location, severity, message, errorId=None): cppcheckdata.reportError(location, severity, message, __addon_name__, errorId or __errorid__) def runcheckers(): - # If there are no checkers then dont run + # If there are no checkers then don't run if len(__checkers__) == 0: return global __addon_name__ diff --git a/addons/misra.py b/addons/misra.py index 1652acd30..f5b4532c8 100755 --- a/addons/misra.py +++ b/addons/misra.py @@ -1867,7 +1867,7 @@ class MisraChecker: # # TODO: We actually need to check if the names of the arguments are # the same. But we can't do this because we have no links to - # variables in the arguments in function defintion in the dump file. + # variables in the arguments in function definition in the dump file. foundVariables = 0 while startCall and startCall != endCall: if startCall.varId: