Mute a few warnings
This commit is contained in:
parent
32c4bec31c
commit
5c0605f6dc
|
@ -224,6 +224,7 @@ private:
|
|||
BOARD& operator=( const BOARD& aOther )
|
||||
{
|
||||
assert( false );
|
||||
return *this; // just to mute warning
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue