mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Remove dead code.
(cherry picked from commit b94f5a013a6ae0ba34ada80c02d25ed3b184ce51)
This commit is contained in:
parent
0ecd5d86bc
commit
9d8f6fbd34
@ -77,7 +77,6 @@ void PCB_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
|
||||
char* text;
|
||||
int netcode = -1;
|
||||
bool multiHighlight = false;
|
||||
FOOTPRINT* footprint = nullptr;
|
||||
PAD* pad = nullptr;
|
||||
BOARD* pcb = GetBoard();
|
||||
|
||||
@ -188,16 +187,7 @@ void PCB_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
|
||||
|
||||
BOX2I bbox;
|
||||
|
||||
if( footprint )
|
||||
{
|
||||
bbox = footprint->GetBoundingBox( true );
|
||||
|
||||
if( pad )
|
||||
m_toolManager->RunAction<BOARD_ITEM*>( PCB_ACTIONS::highlightItem, pad );
|
||||
else
|
||||
m_toolManager->RunAction<BOARD_ITEM*>( PCB_ACTIONS::highlightItem, footprint );
|
||||
}
|
||||
else if( netcode > 0 || multiHighlight )
|
||||
if( netcode > 0 || multiHighlight )
|
||||
{
|
||||
if( !multiHighlight )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user