Fix unused warnings release (#3677)
* Release build fix for Windows * Release build fix for Android * Release build fix for Windows * Release build fix for Android * Release build fix for Linux * Release build fix for Mac * Release build fix for iOS Signed-off-by: Steve Pham <spham@amazon.com>
This commit is contained in:
@@ -58,7 +58,7 @@ namespace UnitTest
|
||||
FrameGraphExecuteGroup* group = AddGroup<FrameGraphExecuteGroup>();
|
||||
group->Init(scope->GetId());
|
||||
|
||||
const bool wasInserted = m_scopeIds.emplace(scope->GetId()).second;
|
||||
[[maybe_unused]] const bool wasInserted = m_scopeIds.emplace(scope->GetId()).second;
|
||||
AZ_Assert(wasInserted, "scope was inserted already");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user