Skip to content

Commit 77abeec

Browse files
committed
selfcheck
1 parent 8038535 commit 77abeec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/symboldatabase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,7 @@ void SymbolDatabase::createSymbolDatabaseIncompleteVars()
15561556
}
15571557
}
15581558

1559+
// cppcheck-suppress functionConst - has side effects
15591560
void SymbolDatabase::createSymbolDatabaseEscapeFunctions()
15601561
{
15611562
for (const Scope& scope : scopeList) {

lib/valueflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5507,7 +5507,7 @@ static void valueFlowForLoopSimplifyAfter(Token* fortok, nonneg int varid, const
55075507
}
55085508
}
55095509

5510-
static void valueFlowForLoop(TokenList &tokenlist, const SymbolDatabase& symboldatabase, ErrorLogger &errorLogger, const Settings &settings)
5510+
static void valueFlowForLoop(const TokenList &tokenlist, const SymbolDatabase& symboldatabase, ErrorLogger &errorLogger, const Settings &settings)
55115511
{
55125512
for (const Scope &scope : symboldatabase.scopeList) {
55135513
if (scope.type != ScopeType::eFor)

0 commit comments

Comments
 (0)