diff --git a/eeschema/project_rescue.cpp b/eeschema/project_rescue.cpp index 7150928532..fe5dbfd502 100644 --- a/eeschema/project_rescue.cpp +++ b/eeschema/project_rescue.cpp @@ -487,10 +487,6 @@ void RESCUER::UndoRescues() bool SCH_EDIT_FRAME::RescueProject( bool aRunningOnDemand ) { - // Data that will be used throughout the operation - std::vector candidates; - wxString part_name_suffix; - RESCUER rescuer( *this, Prj() ); rescuer.FindCandidates(); diff --git a/eeschema/project_rescue.h b/eeschema/project_rescue.h index bc961da326..a179914d03 100644 --- a/eeschema/project_rescue.h +++ b/eeschema/project_rescue.h @@ -56,6 +56,8 @@ enum RESCUE_TYPE class RESCUE_CANDIDATE { public: + virtual ~RESCUE_CANDIDATE() {} + /** * Function GetRequestedName * Get the name that was originally requested in the schematic