Initialize starting value in libedit deduplicate function
This commit is contained in:
parent
0259e0ba07
commit
0c63936aed
|
@ -680,7 +680,7 @@ void LIB_EDIT_FRAME::fixDuplicateAliases( LIB_PART* aPart, const wxString& aLibr
|
||||||
{
|
{
|
||||||
wxCHECK( aPart, /* void */ );
|
wxCHECK( aPart, /* void */ );
|
||||||
|
|
||||||
int i;
|
int i = 1;
|
||||||
wxString newName;
|
wxString newName;
|
||||||
|
|
||||||
// Append a number to the name until the name is unique in the library.
|
// Append a number to the name until the name is unique in the library.
|
||||||
|
|
Loading…
Reference in New Issue