Fix compil and Coverity warnings.

This commit is contained in:
jean-pierre charras 2022-09-15 10:50:14 +02:00
parent d199f92cd4
commit 83fb06ff75
2 changed files with 3 additions and 2 deletions

View File

@ -226,6 +226,7 @@ NETLIST_PAGE_DIALOG::NETLIST_PAGE_DIALOG( wxNotebook* aParent, const wxString& a
m_IdNetType = aIdNetType;
m_pageNetFmtName = aTitle;
m_CommandStringCtrl = nullptr;
m_CurSheetAsRoot = nullptr;
m_TitleStringCtrl = nullptr;
m_SaveAllVoltages = nullptr;
m_SaveAllCurrents = nullptr;

View File

@ -23,7 +23,7 @@
PCB_SEARCH_PANE::PCB_SEARCH_PANE( PCB_EDIT_FRAME* aFrame ) :
m_pcbFrame( aFrame ), SEARCH_PANE( aFrame )
SEARCH_PANE( aFrame ), m_pcbFrame( aFrame )
{
m_brd = m_pcbFrame->GetBoard();