mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 05:57:48 +00:00
CResourceEntry: Mark bool as maybe unused
This can be considered unused in release builds
This commit is contained in:
@@ -77,7 +77,7 @@ std::unique_ptr<CResourceEntry> CResourceEntry::BuildFromDirectory(CResourceStor
|
|||||||
|
|
||||||
// Make sure we're valid, then load the remaining data from the metadata file
|
// Make sure we're valid, then load the remaining data from the metadata file
|
||||||
ASSERT(pEntry->HasCookedVersion() || pEntry->HasRawVersion());
|
ASSERT(pEntry->HasCookedVersion() || pEntry->HasRawVersion());
|
||||||
bool Success = pEntry->LoadMetadata();
|
[[maybe_unused]] const bool Success = pEntry->LoadMetadata();
|
||||||
ASSERT(Success);
|
ASSERT(Success);
|
||||||
|
|
||||||
return pEntry;
|
return pEntry;
|
||||||
|
|||||||
Reference in New Issue
Block a user