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 )