mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-25 10:12:52 -04:00
remove more of the testdata stuff - it never does anything other than occupy memory, in debug builds
This commit is contained in:
+2
-11
@@ -114,15 +114,6 @@ Object * ServerGroupObjectTemplate::createObject(void) const
|
||||
} // ServerGroupObjectTemplate::createObject
|
||||
|
||||
//@BEGIN TFD
|
||||
#ifdef _DEBUG
|
||||
/**
|
||||
* Special function used by datalint. Checks for duplicate values in base and derived templates.
|
||||
*/
|
||||
void ServerGroupObjectTemplate::testValues(void) const
|
||||
{
|
||||
ServerUniverseObjectTemplate::testValues();
|
||||
} // ServerGroupObjectTemplate::testValues
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Loads the template data from an iff file. We should already be in the form
|
||||
@@ -165,8 +156,8 @@ char paramName[MAX_NAME_SIZE];
|
||||
}
|
||||
if (getHighestTemplateVersion() != TAG(0,0,0,0))
|
||||
{
|
||||
if (DataLint::isEnabled())
|
||||
DEBUG_WARNING(true, ("template %s version out of date", file.getFileName()));
|
||||
|
||||
|
||||
m_versionOk = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user