Skip to content

Commit

Permalink
valueflow.cpp: mitigated naming-privateMemberVariable selfcheck war…
Browse files Browse the repository at this point in the history
…ning
  • Loading branch information
firewave committed Mar 11, 2024
1 parent b1af3e1 commit 39369b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/valueflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4320,6 +4320,7 @@ struct LifetimeStore {
}

private:
// cppcheck-suppress naming-privateMemberVariable
mutable Token* forwardTok{};
void forwardLifetime(Token* tok, TokenList& tokenlist, ErrorLogger& errorLogger, const Settings& settings) const {
forwardTok = tok;
Expand Down

0 comments on commit 39369b4

Please sign in to comment.