Skip to content

Commit

Permalink
library.cpp: fixed unusedFunction selfcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed May 22, 2024
1 parent 08e8de0 commit a674fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,7 @@ bool Library::isScopeNoReturn(const Token *end, std::string *unknownFunc) const
return false;
}

// cppcheck-suppress unusedFunction - used in tests only
const std::unordered_map<std::string, Library::Container>& Library::containers() const
{
return mContainers;
Expand Down

0 comments on commit a674fac

Please sign in to comment.