diff --git a/src/Core/GameProject/CResourceEntry.cpp b/src/Core/GameProject/CResourceEntry.cpp index ec53a239..fb5ef28c 100644 --- a/src/Core/GameProject/CResourceEntry.cpp +++ b/src/Core/GameProject/CResourceEntry.cpp @@ -77,7 +77,7 @@ std::unique_ptr 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;