pcbnew: Clear unused code

This commit is contained in:
Seth Hillbrand 2018-06-21 09:20:48 -07:00
parent cf04d341ec
commit e2122db587
2 changed files with 0 additions and 4 deletions

View File

@ -668,7 +668,6 @@ void CN_CONNECTIVITY_ALGO::propagateConnections()
void CN_CONNECTIVITY_ALGO::PropagateNets() void CN_CONNECTIVITY_ALGO::PropagateNets()
{ {
//searchConnections( false );
m_connClusters = SearchClusters( CSM_PROPAGATE ); m_connClusters = SearchClusters( CSM_PROPAGATE );
propagateConnections(); propagateConnections();
} }

View File

@ -964,9 +964,6 @@ void SELECTION_TOOL::selectAllItemsConnectedToItem( BOARD_CONNECTED_ITEM& aSourc
constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_VIA_T, EOT }; constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_VIA_T, EOT };
auto connectivity = board()->GetConnectivity(); auto connectivity = board()->GetConnectivity();
std::vector<BOARD_CONNECTED_ITEM*> items;
items = connectivity->GetConnectedItems( &aSourceItem, types );
for( auto item : connectivity->GetConnectedItems( &aSourceItem, types ) ) for( auto item : connectivity->GetConnectedItems( &aSourceItem, types ) )
select( item ); select( item );
} }