Remove an unused variable that created a memory leak.

This commit is contained in:
jean-pierre charras 2018-08-30 10:04:04 +02:00
parent 23ec0cda31
commit 01acc0d9be
1 changed files with 0 additions and 2 deletions

View File

@ -393,8 +393,6 @@ bool PCB_EDIT_FRAME::OnRightClick( const wxPoint& aMousePos, wxMenu* aPopMenu )
case ID_NO_TOOL_SELECTED:
{
wxMenu* commands = new wxMenu;
if( !trackFound )
{
msg = AddHotkeyName( _( "Begin Track" ), g_Board_Editor_Hotkeys_Descr, HK_ADD_NEW_TRACK );