More NULL expunging.

This commit is contained in:
Wayne Stambaugh
2021-07-16 16:13:41 -04:00
parent d1c9572bcc
commit cb72da294a
119 changed files with 1305 additions and 1307 deletions
+2 -2
View File
@@ -452,7 +452,7 @@ void SIM_PLOT_PANEL::UpdateTraceStyle( TRACE* trace )
bool SIM_PLOT_PANEL::addTrace( const wxString& aName, int aPoints, const double* aX,
const double* aY, SIM_PLOT_TYPE aType, const wxString& aParam )
{
TRACE* trace = NULL;
TRACE* trace = nullptr;
wxString name = aName;
if( aType & SPT_AC_MAG )
@@ -601,7 +601,7 @@ void SIM_PLOT_PANEL::EnableCursor( const wxString& aName, bool aEnable )
else
{
CURSOR* c = t->GetCursor();
t->SetCursor( NULL );
t->SetCursor( nullptr );
m_plotWin->DelLayer( c, true );
}