More exception var disuse warnings
This commit is contained in:
parent
e4ef531f7d
commit
b82fcbcad6
|
@ -194,7 +194,7 @@ void PCB_BASE_FRAME::FocusOnItem( BOARD_ITEM* aItem )
|
|||
{
|
||||
lastItem = GetBoard()->GetItem( lastBrightenedItemID );
|
||||
}
|
||||
catch( const boost::uuids::entropy_error& e )
|
||||
catch( const boost::uuids::entropy_error& )
|
||||
{
|
||||
wxLogError( "A Boost UUID entropy exception was thrown in %s:%s.", __FILE__, __FUNCTION__ );
|
||||
}
|
||||
|
|
|
@ -374,7 +374,7 @@ bool WriteDRCReport( BOARD* aBoard, const wxString& aFileName, EDA_UNITS aUnits,
|
|||
{
|
||||
engine->InitEngine( drcRulesPath );
|
||||
}
|
||||
catch( PARSE_ERROR& pe )
|
||||
catch( PARSE_ERROR& )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -224,7 +224,7 @@ void BOARD_INSPECTION_TOOL::reportClearance( DRC_CONSTRAINT_T aClearanceType, PC
|
|||
{
|
||||
drcEngine.InitEngine( m_frame->GetDesignRulesPath() );
|
||||
}
|
||||
catch( PARSE_ERROR& pe )
|
||||
catch( PARSE_ERROR& )
|
||||
{
|
||||
r->Report( "" );
|
||||
r->Report( _( "Report incomplete: could not compile custom design rules. " )
|
||||
|
@ -490,7 +490,7 @@ int BOARD_INSPECTION_TOOL::InspectConstraints( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
drcEngine.InitEngine( m_frame->GetDesignRulesPath() );
|
||||
}
|
||||
catch( PARSE_ERROR& pe )
|
||||
catch( PARSE_ERROR& )
|
||||
{
|
||||
compileError = true;
|
||||
}
|
||||
|
|
|
@ -2119,7 +2119,7 @@ int DRAWING_TOOL::DrawVia( const TOOL_EVENT& aEvent )
|
|||
m_worstClearance = std::max( m_worstClearance, pad->GetLocalClearance() );
|
||||
}
|
||||
}
|
||||
catch( PARSE_ERROR& pe )
|
||||
catch( PARSE_ERROR& )
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue