mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Fix Coverity issue #544154.
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543084
This commit is contained in:
parent
b364f5dbde
commit
4131089260
@ -402,8 +402,8 @@ CONNECTION_GRAPH::STATUS CONNECTION_GRAPH::FindIsomorphism( CONNECTION_GRAPH* aT
|
||||
int minMatches = std::numeric_limits<int>::max();
|
||||
COMPONENT* altNextRef = nullptr;
|
||||
COMPONENT* bestNextRef = nullptr;
|
||||
int bestRefIndex;
|
||||
int altRefIndex;
|
||||
int bestRefIndex = 0;
|
||||
int altRefIndex = 0;
|
||||
|
||||
for( size_t i = 0; i < m_components.size(); i++ )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user