CResourceEntry: Mark bool as maybe unused

This can be considered unused in release builds
This commit is contained in:
Lioncache
2025-12-06 17:22:34 -05:00
parent 172f450b84
commit 55ed25023b

View File

@@ -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
ASSERT(pEntry->HasCookedVersion() || pEntry->HasRawVersion());
bool Success = pEntry->LoadMetadata();
[[maybe_unused]] const bool Success = pEntry->LoadMetadata();
ASSERT(Success);
return pEntry;