Fixed unused variable warnings
This commit is contained in:
parent
03f4a89521
commit
17806b58f6
|
@ -37,7 +37,6 @@ void DIALOG_UPDATE_PCB::PerformUpdate( bool aDryRun )
|
|||
m_messagePanel->Clear();
|
||||
|
||||
REPORTER& reporter = m_messagePanel->Reporter();
|
||||
KIGFX::VIEW* view = m_frame->GetGalCanvas()->GetView();
|
||||
TOOL_MANAGER* toolManager = m_frame->GetToolManager();
|
||||
BOARD* board = m_frame->GetBoard();
|
||||
|
||||
|
|
|
@ -741,7 +741,6 @@ void PNS_KICAD_IFACE::SyncWorld( PNS::NODE *aWorld )
|
|||
for( TRACK* t = m_board->m_Track; t; t = t->Next() )
|
||||
{
|
||||
KICAD_T type = t->Type();
|
||||
PNS::ITEM* item = NULL;
|
||||
|
||||
if( type == PCB_TRACE_T ) {
|
||||
std::unique_ptr< PNS::SEGMENT > segment = syncTrack( t );
|
||||
|
|
|
@ -756,8 +756,6 @@ void ROUTER_TOOL::performDragging()
|
|||
|
||||
ctls->SetAutoPan( true );
|
||||
|
||||
bool modified = false;
|
||||
|
||||
while( OPT_TOOL_EVENT evt = Wait() )
|
||||
{
|
||||
ctls->ForceCursorPosition( false );
|
||||
|
@ -772,11 +770,8 @@ void ROUTER_TOOL::performDragging()
|
|||
else if( evt->IsClick( BUT_LEFT ) )
|
||||
{
|
||||
if( m_router->FixRoute( m_endSnapPoint, m_endItem ) )
|
||||
{
|
||||
modified = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
handleCommonEvents( *evt );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue