CScriptLoader: Silence unused variable warnings

These will eventually be used.
This commit is contained in:
Lioncash 2020-06-21 19:18:44 -04:00
parent cd55278e3e
commit 48d0ae5e10

View File

@ -265,15 +265,15 @@ void CScriptLoader::ReadProperty(IProperty *pProp, uint32 Size, IInputStream& rS
void CScriptLoader::LoadStructMP1(IInputStream& rSCLY, CStructProperty* pStruct)
{
uint32 StructStart = rSCLY.Tell();
[[maybe_unused]] const uint32 StructStart = rSCLY.Tell();
// Verify property count
uint32 PropertyCount = pStruct->NumChildren();
uint32 Version = 0;
const uint32 PropertyCount = pStruct->NumChildren();
[[maybe_unused]] uint32 Version = 0;
if (!pStruct->IsAtomic())
{
uint32 FilePropCount = rSCLY.ReadLong();
[[maybe_unused]] const uint32 FilePropCount = rSCLY.ReadULong();
//@todo version checking
}