mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
remove unnecessary null checks
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user