Skip to content

Commit dd6d20e

Browse files
committed
Address CodeQL finding
1 parent 507995b commit dd6d20e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/projmgr/src/ProjMgrWorker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2221,7 +2221,6 @@ bool ProjMgrWorker::ProcessComponentFiles(ContextItem& context) {
22212221
context.apis[apiId].first = api;
22222222
context.apis[apiId].second.push_back(componentId);
22232223
if (context.apis[apiId].second.size() == 1) {
2224-
const auto& apiId = api->ConstructComponentID(true);
22252224
const auto& apiFiles = api->GetFileContainer() ? api->GetFileContainer()->GetChildren() : Collection<RteItem*>();
22262225
for (const auto& apiFile : apiFiles) {
22272226
const auto& attr = apiFile->GetAttribute("attr");

0 commit comments

Comments
 (0)