Skip to content

Commit

Permalink
valueflow.cpp: fixed naming-varname selfcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Jul 30, 2024
1 parent 7b26fc8 commit a630a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/valueflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6120,8 +6120,8 @@ static void valueFlowLibraryFunction(Token *tok, const std::string &returnValue,
static void valueFlowSubFunction(const TokenList& tokenlist, SymbolDatabase& symboldatabase, ErrorLogger& errorLogger, const Settings& settings)
{
int id = 0;
for (auto I = symboldatabase.functionScopes.crbegin(); I != symboldatabase.functionScopes.crend(); ++I) {
const Scope* scope = *I;
for (auto it = symboldatabase.functionScopes.crbegin(); it != symboldatabase.functionScopes.crend(); ++it) {
const Scope* scope = *it;
const Function* function = scope->function;
if (!function)
continue;
Expand Down

0 comments on commit a630a69

Please sign in to comment.