From 6c16846b2125f8c43b562bd539d4b6432ce36f25 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 30 Aug 2021 13:44:28 +0100 Subject: [PATCH] Remove unused lambda. --- eeschema/tools/sch_edit_tool.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eeschema/tools/sch_edit_tool.cpp b/eeschema/tools/sch_edit_tool.cpp index 70a4658c9e..eaa3d2ca3f 100644 --- a/eeschema/tools/sch_edit_tool.cpp +++ b/eeschema/tools/sch_edit_tool.cpp @@ -155,12 +155,6 @@ bool SCH_EDIT_TOOL::Init() return !m_frame->GetScreen()->Items().empty(); }; - auto sheetTool = - [ this ] ( const SELECTION& aSel ) - { - return ( m_frame->IsCurrentTool( EE_ACTIONS::drawSheet ) ); - }; - auto anyTextTool = [ this ] ( const SELECTION& aSel ) {