Fix some warnings detected by PVS-STUDIO (not used vars)

This commit is contained in:
jean-pierre charras
2022-07-26 16:00:14 +02:00
parent ee0f93ed17
commit 4d48376eae
30 changed files with 8 additions and 48 deletions
@@ -260,7 +260,6 @@ bool SaveBoard( wxString& aFileName, BOARD* aBoard, IO_MGR::PCB_FILE_T aFormat,
wxFileName pro = aFileName;
pro.SetExt( ProjectFileExtension );
pro.MakeAbsolute();
wxString projectPath = pro.GetFullPath();
GetSettingsManager()->SaveProjectAs( pro.GetFullPath(), aBoard->GetProject() );
}