mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-01 19:03:36 +00:00
CScriptLoader: Silence unused variable warnings
These will eventually be used.
This commit is contained in:
parent
cd55278e3e
commit
48d0ae5e10
@ -265,15 +265,15 @@ void CScriptLoader::ReadProperty(IProperty *pProp, uint32 Size, IInputStream& rS
|
|||||||
|
|
||||||
void CScriptLoader::LoadStructMP1(IInputStream& rSCLY, CStructProperty* pStruct)
|
void CScriptLoader::LoadStructMP1(IInputStream& rSCLY, CStructProperty* pStruct)
|
||||||
{
|
{
|
||||||
uint32 StructStart = rSCLY.Tell();
|
[[maybe_unused]] const uint32 StructStart = rSCLY.Tell();
|
||||||
|
|
||||||
// Verify property count
|
// Verify property count
|
||||||
uint32 PropertyCount = pStruct->NumChildren();
|
const uint32 PropertyCount = pStruct->NumChildren();
|
||||||
uint32 Version = 0;
|
[[maybe_unused]] uint32 Version = 0;
|
||||||
|
|
||||||
if (!pStruct->IsAtomic())
|
if (!pStruct->IsAtomic())
|
||||||
{
|
{
|
||||||
uint32 FilePropCount = rSCLY.ReadLong();
|
[[maybe_unused]] const uint32 FilePropCount = rSCLY.ReadULong();
|
||||||
//@todo version checking
|
//@todo version checking
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user