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:
@@ -112,6 +112,7 @@ namespace UnitTest
|
||||
|
||||
queryPool->ForEach<RHI::Query>([&queryIndex, &queries]([[maybe_unused]] RHI::Query& query)
|
||||
{
|
||||
AZ_UNUSED(queries); // Prevent unused warning in release builds
|
||||
AZ_Assert(queries[queryIndex] == &query, "Queries don't match");
|
||||
queryIndex++;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user