From 64360d291df0e1fd8e61908be00b39f989e6b356 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Mon, 25 Jul 2016 17:04:18 +0300 Subject: [PATCH] Variable name consistent with surroundings --- lib/checkinternal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/checkinternal.cpp b/lib/checkinternal.cpp index 7e77674aa..39866d31d 100644 --- a/lib/checkinternal.cpp +++ b/lib/checkinternal.cpp @@ -43,11 +43,11 @@ void CheckInternal::checkTokenMatchPatterns() const std::string& funcname = tok->strAt(2); // Get pattern string - const Token *pattern_tok = tok->tokAt(4)->nextArgument(); - if (!pattern_tok || pattern_tok->tokType() != Token::eString) + const Token *patternTok = tok->tokAt(4)->nextArgument(); + if (!patternTok || patternTok->tokType() != Token::eString) continue; - const std::string pattern = pattern_tok->strValue(); + const std::string pattern = patternTok->strValue(); if (pattern.empty()) { simplePatternError(tok, pattern, funcname); continue;