mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Remove superfluous pointer null checks
This commit is contained in:
committed by
ShadowNinja
parent
7bfd53ba58
commit
5cc8ad946e
@@ -134,13 +134,8 @@ GUIFormSpecMenu::~GUIFormSpecMenu()
|
||||
}
|
||||
|
||||
delete m_selected_item;
|
||||
|
||||
if (m_form_src != NULL) {
|
||||
delete m_form_src;
|
||||
}
|
||||
if (m_text_dst != NULL) {
|
||||
delete m_text_dst;
|
||||
}
|
||||
delete m_form_src;
|
||||
delete m_text_dst;
|
||||
}
|
||||
|
||||
void GUIFormSpecMenu::removeChildren()
|
||||
|
Reference in New Issue
Block a user