Initialize starting value in libedit deduplicate function

This commit is contained in:
Ian McInerney 2019-12-17 16:09:59 +00:00
parent 0259e0ba07
commit 0c63936aed
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ void LIB_EDIT_FRAME::fixDuplicateAliases( LIB_PART* aPart, const wxString& aLibr
{
wxCHECK( aPart, /* void */ );
int i;
int i = 1;
wxString newName;
// Append a number to the name until the name is unique in the library.