Remove a useless assert from wxDataViewTreeNode::GetChildNodes()

Checking that a pointer is non-null before dereferencing it is perfectly
useless: the code will crash anyhow, so assert doesn't help with
debugging it in debug builds nor with preventing the crash in release.
This commit is contained in:
Vadim Zeitlin
2018-01-17 10:12:41 +01:00
parent ff3b3269dd
commit 91f54ea7e4

View File

@@ -496,7 +496,6 @@ public:
const wxDataViewTreeNodes& GetChildNodes() const
{
wxASSERT( m_branchData != NULL );
return m_branchData->children;
}