General: Silence some unused variables

These are checked in asserts that aren't present in release builds.
This commit is contained in:
Lioncash 2020-06-21 19:30:22 -04:00
parent ebd1468bbf
commit 03a858d4fa
2 changed files with 2 additions and 2 deletions

View File

@ -999,7 +999,7 @@ void CUnsupportedParticleLoader::ParseIntFunction(IInputStream& rFile)
case FOURCC('CNST'):
{
uint32 Value = rFile.ReadLong();
[[maybe_unused]] const uint32 Value = rFile.ReadULong();
ASSERT(gpResourceStore->FindEntry(CAssetID(Value)) == nullptr);
break;
}

View File

@ -97,7 +97,7 @@ void CStructProperty::Serialize(IArchive& rArc)
// Serialize archetype
if (mpArchetype)
{
CStructProperty* pArchetype = static_cast<CStructProperty*>(mpArchetype);
[[maybe_unused]] const CStructProperty* pArchetype = static_cast<CStructProperty*>(mpArchetype);
ASSERT(pArchetype != nullptr);
if (rArc.IsReader())