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