Cleanup some compile warnings

This commit is contained in:
Ian McInerney 2021-01-13 02:12:59 +00:00
parent 5931a39c0f
commit ac3e677fae
2 changed files with 9 additions and 8 deletions

View File

@ -199,6 +199,8 @@ public:
struct PARSER
{
virtual void Parse( XNODE* aNode, PARSER_CONTEXT* aContext ) = 0;
virtual ~PARSER() {};
};

View File

@ -679,9 +679,8 @@ void SYMBOL_EDIT_FRAME::Save()
}
else if( !getTargetLibId().GetLibNickname().empty() )
{
LIB_ID libId = getTargetLibId();
LIB_ID libId = getTargetLibId();
const wxString& libName = libId.GetLibNickname();
const wxString& partName = libId.GetLibItemName();
if( m_libMgr->IsLibraryReadOnly( libName ) )
{