7
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:
Alex Shvartzkop 2024-08-07 00:51:17 +03:00
parent c989a7ba83
commit 371a1b711f
2 changed files with 2 additions and 4 deletions

View File

@ -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 )

View File

@ -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 )