Merge pull request #7101 from siretty/fix_build_linux_clang_13

Fix Build on Linux with Clang 13 with Debug, Profile and Release Configuration
This commit is contained in:
Chris Galvan
2022-01-24 12:24:33 -06:00
committed by GitHub
41 changed files with 49 additions and 49 deletions
@@ -195,7 +195,7 @@ namespace AzFramework::AssetBenchmark
// Console command: Add the given list of assets to the list of assets to load with BenchmarkLoadAssetList
void BenchmarkAddAssetsToList(const AZ::ConsoleCommandContainer& parameters)
{
bool allAssetsAdded = true;
[[maybe_unused]] bool allAssetsAdded = true;
for (auto& assetName : parameters)
{
@@ -81,7 +81,7 @@ namespace UnitTest
TEST_P(Rotation, Permutation)
{
int expectedErrors = -1;
[[maybe_unused]] int expectedErrors = -1;
AZ_TEST_START_TRACE_SUPPRESSION;
// Given an orientation derived from the look at points