diff --git a/addons/threadsafety.py b/addons/threadsafety.py index 07cd5b1ec..889ecd528 100755 --- a/addons/threadsafety.py +++ b/addons/threadsafety.py @@ -22,7 +22,7 @@ def checkstatic(data): else: type = 'variable' if var.isConst: - reportError(var.typeStartToken, 'warning', 'Local constant static ' + type + ' \'' + var.nameToken.str + '\', dangerous if it is initialized in parallell threads', 'threadsafety') + reportError(var.typeStartToken, 'warning', 'Local constant static ' + type + ' \'' + var.nameToken.str + '\', dangerous if it is initialized in parallel threads', 'threadsafety') else: reportError(var.typeStartToken, 'warning', 'Local static ' + type + ': ' + var.nameToken.str, 'threadsafety') diff --git a/lib/checkunusedfunctions.cpp b/lib/checkunusedfunctions.cpp index d467a82f8..c9598b587 100644 --- a/lib/checkunusedfunctions.cpp +++ b/lib/checkunusedfunctions.cpp @@ -248,7 +248,7 @@ static bool isOperatorFunction(const std::string & funcName) * Conversion functions must be a member function (at least for gcc), so no * need to cover them for unused functions. * - * To speed up the comparision, not the whole list of operators is used. + * To speed up the comparison, not the whole list of operators is used. * Instead only the character after the operator prefix is checked to be a * none alpa numeric value, but the '_', to cover function names like * "operator_unused". In addition the following valid operators are checked: diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 863aae7cf..840c87139 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -4042,7 +4042,7 @@ const Function* Scope::findFunction(const Token *tok, bool requireConst) const checkVariableCallMatch(callarg, funcarg, same, fallback1, fallback2); } - // check for a match with refrence of a variable + // check for a match with reference of a variable else if (Token::Match(arguments[j], "* %var% ,|)")) { const Variable * callarg = check->getVariableFromVarId(arguments[j]->next()->varId()); if (callarg) { diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 3c71bb7c1..59cb03eaf 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -555,7 +555,7 @@ There are false positives with this option. Each result must be carefully invest SEE ALSO - + Full list of features: http://cppcheck.wiki.sourceforge.net/