remove unnecessary null checks

This commit is contained in:
DarthArgus
2014-10-26 22:53:42 -07:00
parent eb2e7c78d8
commit 594b3a4254
56 changed files with 98 additions and 199 deletions
@@ -259,7 +259,6 @@ void StructureFootprint::load_0000 (Iff& iff)
//-- allocate footprint
IS_NULL (m_data);
m_data = new LotType [static_cast<size_t> (m_width * m_height)];
NOT_NULL (m_data);
//-- convert string to footprint
const char* const buffer = footprint.c_str ();
@@ -53,7 +53,6 @@ void Portal::install()
{
delete ms_doorStyleTable;
ms_doorStyleTable = new DataTable();
NOT_NULL(ms_doorStyleTable);
ms_doorStyleTable->load(dataTableIff);
}