Fix unintialized values (from coverity scan)

This commit is contained in:
Ian McInerney
2020-01-12 13:00:42 +00:00
parent ae91312416
commit 00e58cd974
12 changed files with 92 additions and 61 deletions
+8 -3
View File
@@ -362,9 +362,14 @@ void CURSOR::UpdateReference()
SIM_PLOT_PANEL::SIM_PLOT_PANEL( SIM_TYPE aType, wxWindow* parent, wxWindowID id, const wxPoint& pos,
const wxSize& size, long style, const wxString& name )
: mpWindow( parent, id, pos, size, style ), m_colorIdx( 0 ),
m_axis_x( nullptr ), m_axis_y1( nullptr ), m_axis_y2( nullptr ), m_type( aType )
const wxSize& size, long style, const wxString& name )
: mpWindow( parent, id, pos, size, style ),
m_colorIdx( 0 ),
m_axis_x( nullptr ),
m_axis_y1( nullptr ),
m_axis_y2( nullptr ),
m_dotted_cp( false ),
m_type( aType )
{
LimitView( true );
SetMargins( 50, 80, 50, 80 );