Remove redundant checks for NULL before calling delete
This commit is contained in:
@@ -53,7 +53,7 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject
|
||||
public:
|
||||
|
||||
wxEncodingConverter();
|
||||
virtual ~wxEncodingConverter() { if (m_Table) delete[] m_Table; }
|
||||
virtual ~wxEncodingConverter() { delete[] m_Table; }
|
||||
|
||||
// Initialize conversion. Both output or input encoding may
|
||||
// be wxFONTENCODING_UNICODE.
|
||||
|
||||
Reference in New Issue
Block a user