Typos found by running "codespell" (#3659)

This commit is contained in:
Armin Müller 2022-01-02 08:12:08 +01:00 committed by GitHub
parent ccea1da33a
commit d5daba331f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5307,7 +5307,7 @@ const Function* SymbolDatabase::findFunction(const Token *tok) const
currScope = currScope->nestedIn; currScope = currScope->nestedIn;
} }
} }
// Check for contructor // Check for constructor
if (Token::Match(tok, "%name% (|{")) { if (Token::Match(tok, "%name% (|{")) {
ValueType vt = ValueType::parseDecl(tok, mSettings); ValueType vt = ValueType::parseDecl(tok, mSettings);
if (vt.typeScope) if (vt.typeScope)

View File

@ -106,7 +106,7 @@ void nullPointer_GetPrivateProfileString(LPCTSTR lpAppName,
// No warning is expected for 1st arg as nullptr // No warning is expected for 1st arg as nullptr
(void)GetPrivateProfileString(nullptr, lpKeyName, lpDefault, lpReturnedString, nSize, lpFileName); (void)GetPrivateProfileString(nullptr, lpKeyName, lpDefault, lpReturnedString, nSize, lpFileName);
// No warning is expected for 2st arg as nullptr // No warning is expected for 2nd arg as nullptr
(void)GetPrivateProfileString(lpAppName, nullptr, lpDefault, lpReturnedString, nSize, lpFileName); (void)GetPrivateProfileString(lpAppName, nullptr, lpDefault, lpReturnedString, nSize, lpFileName);
} }