Fix a few Coverity warnings (not initialized vars)

This commit is contained in:
jean-pierre charras
2023-05-14 10:11:38 +02:00
parent bd71cec826
commit 3be8bfe193
3 changed files with 8 additions and 2 deletions
@@ -67,6 +67,8 @@ DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP( SCH_EDIT_FRAME* aFrame ) :
}, _( "Field Name Templates" ) );
m_treebook->AddPage( new wxPanel( GetTreebook() ), _( "Electrical Rules" ) );
m_severitiesPage = m_treebook->GetPageCount();
m_treebook->AddLazySubPage(
[this]( wxWindow* aParent ) -> wxWindow*
{