Mute a few warnings

This commit is contained in:
Maciej Suminski 2016-08-16 10:03:52 +02:00
parent 32c4bec31c
commit 5c0605f6dc
2 changed files with 2 additions and 3 deletions

View File

@ -224,6 +224,7 @@ private:
BOARD& operator=( const BOARD& aOther )
{
assert( false );
return *this; // just to mute warning
}
public:

View File

@ -829,8 +829,6 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
ctls->SetAutoPan( true );
frame->UndoRedoBlock( true );
bool modified = false;
while( OPT_TOOL_EVENT evt = Wait() )
{
p0 = ctls->GetCursorPosition();
@ -845,7 +843,7 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
}
else if( evt->IsMouseUp( BUT_LEFT ) || evt->IsClick( BUT_LEFT ) )
{
modified = m_router->FixRoute( p0, NULL );
m_router->FixRoute( p0, NULL );
break;
}
}