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 16, 2024
1 parent 26378aa commit 0430fdc
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 0430fdc

Please sign in to comment.