mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 17:23:44 +00:00
Fix some warnings.
This commit is contained in:
parent
c989a7ba83
commit
371a1b711f
@ -2387,8 +2387,7 @@ void CONNECTION_GRAPH::buildConnectionGraph( std::function<void( SCH_ITEM* )>* a
|
||||
{
|
||||
wxCHECK_RET( !subgraphs.empty(), wxS( "Invalid empty subgraph" ) );
|
||||
|
||||
const CONNECTION_SUBGRAPH* driverSubgraph = nullptr;
|
||||
std::set<wxString> netclasses;
|
||||
std::set<wxString> netclasses;
|
||||
|
||||
// Collect all netclasses on all subgraphs for this net
|
||||
for( const CONNECTION_SUBGRAPH* subgraph : subgraphs )
|
||||
|
@ -128,7 +128,6 @@ private:
|
||||
PCB_LAYER_PRESENTATION m_layerPresentation;
|
||||
PCB_LAYER_ID m_layerSelected;
|
||||
LSET m_notAllowedLayersMask;
|
||||
BOARD* m_brd;
|
||||
std::vector<PCB_LAYER_ID> m_layersIdLeftColumn;
|
||||
std::vector<PCB_LAYER_ID> m_layersIdRightColumn;
|
||||
};
|
||||
@ -629,7 +628,7 @@ private:
|
||||
*/
|
||||
void setCurrentSelection( int aLeftRow, int aRightRow )
|
||||
{
|
||||
const auto selectGridRow = [this]( wxGrid& aGrid, int aRow, bool aSelect )
|
||||
const auto selectGridRow = []( wxGrid& aGrid, int aRow, bool aSelect )
|
||||
{
|
||||
// At start, there is no old row
|
||||
if( aRow < 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user