Remove redundant checks for NULL before calling delete
This commit is contained in:
@@ -407,8 +407,7 @@ wxFontMapperBase::wxFontMapperBase()
|
||||
wxFontMapperBase::~wxFontMapperBase()
|
||||
{
|
||||
#if wxUSE_CONFIG && wxUSE_FILECONFIG
|
||||
if ( m_configDummy )
|
||||
delete m_configDummy;
|
||||
delete m_configDummy;
|
||||
#endif // wxUSE_CONFIG
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user