Browse Source

Mute a few warnings

pull/3/merge
Maciej Suminski 9 years ago
parent
commit
5c0605f6dc
  1. 1
      pcbnew/class_board.h
  2. 4
      pcbnew/router/router_tool.cpp

1
pcbnew/class_board.h

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

4
pcbnew/router/router_tool.cpp

@ -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…
Cancel
Save