Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cppcheckpremium-suppressions
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ premium-misra-cpp-2023-8.2.7:lib/checkclass.cpp
# ignored function return value (emplace etc)
premium-misra-cpp-2023-0.1.2

# TODO there is unused map
premium-misra-cpp-2023-0.2.1:lib/symboldatabase.cpp

# TODO use named function arguments
premium-misra-cpp-2023-0.2.2

Expand Down
2 changes: 0 additions & 2 deletions lib/symboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1690,8 +1690,6 @@ void SymbolDatabase::createSymbolDatabaseExprIds()
});

for (const Scope * scope : exprScopes) {
std::unordered_map<std::string, std::vector<Token*>> exprs;

std::unordered_map<std::string, nonneg int> unknownIds;
// Assign IDs to incomplete vars which are part of an expression
// Such variables should be assumed global
Expand Down