diff --git a/lib/checkclass.h b/lib/checkclass.h index e3d6d9cf3..562773b23 100644 --- a/lib/checkclass.h +++ b/lib/checkclass.h @@ -125,7 +125,7 @@ public: void copyconstructors(); - /** @brief call of pure virtual funcion */ + /** @brief call of pure virtual function */ void checkPureVirtualFunctionCall(); /** @brief Check duplicated inherited members */ diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 530de74c6..d2e6cfbc5 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -319,7 +319,7 @@ void CheckOther::clarifyStatementError(const Token *tok) } //--------------------------------------------------------------------------- -// Check for suspicious occurences of 'if(); {}'. +// Check for suspicious occurrences of 'if(); {}'. //--------------------------------------------------------------------------- void CheckOther::checkSuspiciousSemicolon() {