Skip to content

Commit 64360d2

Browse files
committed
Variable name consistent with surroundings
1 parent 2feb86a commit 64360d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/checkinternal.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ void CheckInternal::checkTokenMatchPatterns()
4343
const std::string& funcname = tok->strAt(2);
4444

4545
// Get pattern string
46-
const Token *pattern_tok = tok->tokAt(4)->nextArgument();
47-
if (!pattern_tok || pattern_tok->tokType() != Token::eString)
46+
const Token *patternTok = tok->tokAt(4)->nextArgument();
47+
if (!patternTok || patternTok->tokType() != Token::eString)
4848
continue;
4949

50-
const std::string pattern = pattern_tok->strValue();
50+
const std::string pattern = patternTok->strValue();
5151
if (pattern.empty()) {
5252
simplePatternError(tok, pattern, funcname);
5353
continue;

0 commit comments

Comments
 (0)