misc: fix codacy warnings

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-06-20 02:44:58 +02:00 committed by Kojin
parent 23c0b0f7b1
commit 8d56332993
2 changed files with 2 additions and 2 deletions

View File

@ -862,8 +862,8 @@ ScopedCoreThreadPause::~ScopedCoreThreadPause()
}
ScopedCoreThreadPopup::ScopedCoreThreadPopup()
: m_scoped_core(std::unique_ptr<BaseScopedCoreThread>(new ScopedCoreThreadPause()))
{
m_scoped_core = std::unique_ptr<BaseScopedCoreThread>(new ScopedCoreThreadPause());
};
void ScopedCoreThreadPopup::AllowResume()

View File

@ -227,6 +227,6 @@ void FirstTimeWizard::OnPageChanging( wxWizardEvent& evt )
void FirstTimeWizard::OnPageChanged( wxWizardEvent& evt )
{
if( (sptr)evt.GetPage() == (sptr)&m_page_bios )
if( ((sptr)evt.GetPage() == (sptr)&m_page_bios) )
m_panel_BiosSel.OnShown();
}