mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 16:03:43 +00:00
Fix compil warnings
This commit is contained in:
parent
641e06e67c
commit
9d1b320896
@ -196,6 +196,12 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||
libWidth = cfg->m_LibWidth;
|
||||
aui_cfg = cfg->m_AuiPanels;
|
||||
}
|
||||
else
|
||||
{
|
||||
// keep gcc quiet about uninitalized vars:
|
||||
aui_cfg.appearance_panel_tab = 0;
|
||||
aui_cfg.right_panel_width = -1;
|
||||
}
|
||||
|
||||
m_auimgr.SetManagedWindow( this );
|
||||
|
||||
|
@ -285,7 +285,7 @@ USED_BY_FEATURE_ENTITY( VIA_TYPE )
|
||||
enum class COMP_MOUNT_TYPE
|
||||
{
|
||||
OTHER,
|
||||
SMD,
|
||||
MT_SMD,
|
||||
THT,
|
||||
PRESSFIT
|
||||
};
|
||||
|
@ -78,7 +78,7 @@ ODB_COMPONENT& COMPONENTS_MANAGER::AddComponent( const FOOTPRINT* aFp,
|
||||
|
||||
if( aFp->GetAttributes() & FP_SMD )
|
||||
{
|
||||
AddSystemAttribute( comp, ODB_ATTR::COMP_MOUNT_TYPE::SMD );
|
||||
AddSystemAttribute( comp, ODB_ATTR::COMP_MOUNT_TYPE::MT_SMD );
|
||||
}
|
||||
else if( aFp->GetAttributes() & FP_THROUGH_HOLE )
|
||||
{
|
||||
|
@ -1124,8 +1124,6 @@ void BRDITEMS_PLOTTER::PlotTableBorders( const PCB_TABLE* aTable )
|
||||
if( !m_layerMask[aTable->GetLayer()] )
|
||||
return;
|
||||
|
||||
VECTOR2I pos = aTable->GetPosition();
|
||||
VECTOR2I end = aTable->GetEnd();
|
||||
int lineWidth;
|
||||
LINE_STYLE lineStyle;
|
||||
GBR_METADATA gbr_metadata;
|
||||
|
Loading…
Reference in New Issue
Block a user