Remove redundant checks for NULL before calling delete
This commit is contained in:
@@ -703,8 +703,7 @@ wxInotifyFileSystemWatcher::wxInotifyFileSystemWatcher(const wxFileName& path,
|
||||
{
|
||||
if (!Init())
|
||||
{
|
||||
if (m_service)
|
||||
delete m_service;
|
||||
delete m_service;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user