mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 16:21:41 +00:00
Fix Coverity issue #543084.
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543084
This commit is contained in:
parent
47984b6793
commit
f53d1a5356
@ -49,7 +49,8 @@ public:
|
||||
{ }
|
||||
|
||||
TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType ) :
|
||||
m_Type( aType )
|
||||
m_Type( aType ),
|
||||
m_Size( 0 )
|
||||
{ }
|
||||
|
||||
TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType, int aSize ) :
|
||||
@ -60,7 +61,8 @@ public:
|
||||
}
|
||||
|
||||
TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType, std::string aName ) :
|
||||
m_Type( aType )
|
||||
m_Type( aType ),
|
||||
m_Size( 0 )
|
||||
{
|
||||
if( aType == TOOLBAR_ITEM_TYPE::CONTROL )
|
||||
m_ControlName = aName;
|
||||
|
Loading…
Reference in New Issue
Block a user