mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-01 02:43:41 +00:00
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'):
|
||||
{
|
||||
uint32 Value = rFile.ReadLong();
|
||||
[[maybe_unused]] const uint32 Value = rFile.ReadULong();
|
||||
ASSERT(gpResourceStore->FindEntry(CAssetID(Value)) == nullptr);
|
||||
break;
|
||||
}
|
||||
|
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user