Remove an unused variable and a debug printf

This commit is contained in:
Maciej Suminski 2016-09-30 09:30:03 +02:00
parent 3257f1a863
commit abbd47e2f2
2 changed files with 0 additions and 3 deletions

View File

@ -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 );

View File

@ -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 )