mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-04 23:35:31 +00:00
Fix a few minor Coverity and compil warnings.
This commit is contained in:
parent
e5321f7401
commit
4ce9648d34
@ -298,7 +298,7 @@ void fillArcGBRITEM( GERBER_DRAW_ITEM* aGbrItem, int Dcode_index, const VECTOR2I
|
||||
aGbrItem->SetLayerPolarity( aLayerNegative );
|
||||
}
|
||||
|
||||
#include <wx/log.h>
|
||||
|
||||
/**
|
||||
* Create an arc G code when found in polygon outlines.
|
||||
*
|
||||
|
@ -206,7 +206,7 @@ KICAD_MANAGER_FRAME::KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& titl
|
||||
m_auimgr.SetManagedWindow( this );
|
||||
m_auimgr.SetFlags( wxAUI_MGR_LIVE_RESIZE );
|
||||
|
||||
m_auimgr.AddPane( m_mainToolBar, EDA_PANE().HToolbar().Name( "MainToolbar" ).Left()
|
||||
m_auimgr.AddPane( m_mainToolBar, EDA_PANE().VToolbar().Name( "MainToolbar" ).Left()
|
||||
.Layer( 2 ) );
|
||||
|
||||
// BestSize() does not always set the actual pane size of m_leftWin to the required value.
|
||||
|
@ -79,7 +79,8 @@ BOARD_COMMIT::BOARD_COMMIT( TOOL_MANAGER* aMgr ) :
|
||||
|
||||
BOARD_COMMIT::BOARD_COMMIT( TOOL_MANAGER* aMgr, bool aIsBoardEditor ) :
|
||||
m_toolMgr( aMgr ),
|
||||
m_isBoardEditor( aIsBoardEditor )
|
||||
m_isBoardEditor( aIsBoardEditor ),
|
||||
m_isFootprintEditor( false )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -383,7 +383,7 @@ public:
|
||||
{
|
||||
LAYER_PAIR_INFO layerPairInfo{ aLayerPair, true, std::nullopt };
|
||||
|
||||
const bool added = m_layerPairSettings.AddLayerPair( std::move( layerPairInfo ) );
|
||||
const bool added = m_layerPairSettings.AddLayerPair( layerPairInfo );
|
||||
|
||||
if( added )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user