General: Silence some unused variables
These are checked in asserts that aren't present in release builds.
This commit is contained in:
parent
ebd1468bbf
commit
03a858d4fa
|
@ -999,7 +999,7 @@ void CUnsupportedParticleLoader::ParseIntFunction(IInputStream& rFile)
|
||||||
|
|
||||||
case FOURCC('CNST'):
|
case FOURCC('CNST'):
|
||||||
{
|
{
|
||||||
uint32 Value = rFile.ReadLong();
|
[[maybe_unused]] const uint32 Value = rFile.ReadULong();
|
||||||
ASSERT(gpResourceStore->FindEntry(CAssetID(Value)) == nullptr);
|
ASSERT(gpResourceStore->FindEntry(CAssetID(Value)) == nullptr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,7 @@ void CStructProperty::Serialize(IArchive& rArc)
|
||||||
// Serialize archetype
|
// Serialize archetype
|
||||||
if (mpArchetype)
|
if (mpArchetype)
|
||||||
{
|
{
|
||||||
CStructProperty* pArchetype = static_cast<CStructProperty*>(mpArchetype);
|
[[maybe_unused]] const CStructProperty* pArchetype = static_cast<CStructProperty*>(mpArchetype);
|
||||||
ASSERT(pArchetype != nullptr);
|
ASSERT(pArchetype != nullptr);
|
||||||
|
|
||||||
if (rArc.IsReader())
|
if (rArc.IsReader())
|
||||||
|
|
Loading…
Reference in New Issue