From abbd47e2f23b5c0ef1079824e05ec23f2108bed3 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 30 Sep 2016 09:30:03 +0200 Subject: [PATCH] Remove an unused variable and a debug printf --- pcbnew/router/pns_tool_base.cpp | 1 - pcbnew/router/router_tool.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/pcbnew/router/pns_tool_base.cpp b/pcbnew/router/pns_tool_base.cpp index 083cb7284c..32a3715d0b 100644 --- a/pcbnew/router/pns_tool_base.cpp +++ b/pcbnew/router/pns_tool_base.cpp @@ -238,7 +238,6 @@ void TOOL_BASE::updateEndItem( TOOL_EVENT& aEvent ) { VECTOR2I mp = m_ctls->GetMousePosition(); VECTOR2I p = getView()->ToWorld( mp ); - VECTOR2I cp = m_ctls->GetCursorPosition(); int layer; bool snapEnabled = !aEvent.Modifier( MD_SHIFT ); diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index b373c85d62..1fced7cdf2 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -815,8 +815,6 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent ) VECTOR2I p0 = ctls->GetCursorPosition(); - printf("StartDrag : %p\n", m_startItem ); - bool dragStarted = m_router->StartDragging( p0, m_startItem ); if( !dragStarted )