Coverity: fix some uninitialized members
This commit is contained in:
parent
742fa9a75b
commit
47a79b9cd9
@ -79,6 +79,7 @@ Branding::Branding( const QString& brandingFilePath,
|
|||||||
QObject* parent )
|
QObject* parent )
|
||||||
: QObject( parent )
|
: QObject( parent )
|
||||||
, m_descriptorPath( brandingFilePath )
|
, m_descriptorPath( brandingFilePath )
|
||||||
|
, m_componentName()
|
||||||
{
|
{
|
||||||
cDebug() << "Using Calamares branding file at" << brandingFilePath;
|
cDebug() << "Using Calamares branding file at" << brandingFilePath;
|
||||||
QFile file( brandingFilePath );
|
QFile file( brandingFilePath );
|
||||||
@ -188,7 +189,14 @@ Branding::Branding( const QString& brandingFilePath,
|
|||||||
}
|
}
|
||||||
|
|
||||||
s_instance = this;
|
s_instance = this;
|
||||||
cDebug() << "Loaded branding component" << m_componentName;
|
if ( m_componentName.isEmpty() )
|
||||||
|
{
|
||||||
|
cDebug() << "WARNING: failed to load component from" << brandingFilePath;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cDebug() << "Loaded branding component" << m_componentName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ NetInstallPage::NetInstallPage( QWidget* parent )
|
|||||||
: QWidget( parent )
|
: QWidget( parent )
|
||||||
, ui( new Ui::Page_NetInst )
|
, ui( new Ui::Page_NetInst )
|
||||||
, m_networkManager( this )
|
, m_networkManager( this )
|
||||||
|
, m_groups( nullptr )
|
||||||
{
|
{
|
||||||
ui->setupUi( this );
|
ui->setupUi( this );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user