Fix minor compil warnings
This commit is contained in:
@@ -107,6 +107,9 @@ public:
|
||||
case LIBRARY_TABLE_TYPE::DESIGN_BLOCK:
|
||||
missingTablesText.Append( _( "Design Block library table" ) + "\n" );
|
||||
break;
|
||||
|
||||
case LIBRARY_TABLE_TYPE::UNINITIALIZED:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -333,9 +333,6 @@ void PANEL_SYM_LIB_TABLE::setupGrid( WX_GRID* aGrid )
|
||||
// Set special attributes
|
||||
wxGridCellAttr* attr = new wxGridCellAttr;
|
||||
|
||||
wxString fileFiltersStr;
|
||||
wxString allWildcardsStr;
|
||||
|
||||
if( EESCHEMA_SETTINGS* cfg = GetAppSettings<EESCHEMA_SETTINGS>( "eeschema" ) )
|
||||
{
|
||||
attr->SetEditor( new GRID_CELL_PATH_EDITOR(
|
||||
@@ -1000,7 +997,6 @@ void PANEL_SYM_LIB_TABLE::onConvertLegacyLibraries( wxCommandEvent& event )
|
||||
|
||||
for( int row : legacyRows )
|
||||
{
|
||||
wxString libName = m_cur_grid->GetCellValue( row, COL_NICKNAME );
|
||||
wxString relPath = m_cur_grid->GetCellValue( row, COL_URI );
|
||||
wxString resolvedPath = ExpandEnvVarSubstitutions( relPath, m_project );
|
||||
wxFileName legacyLib( resolvedPath );
|
||||
|
||||
@@ -223,8 +223,6 @@ void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event )
|
||||
return;
|
||||
|
||||
wxArrayString prmValues = footprintWizard->GetParameterValues( m_parameterGridPage );
|
||||
wxArrayString ptList = footprintWizard->GetParameterTypes( m_parameterGridPage );
|
||||
|
||||
bool has_changed = false;
|
||||
int count = m_parameterGrid->GetNumberRows();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user