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
@@ -291,7 +291,7 @@ namespace Terrain
modelAssetCreator.Begin(AZ::Uuid::CreateRandom());
uint16_t gridSize = GridSize;
float gridSpacing = GridSpacing;
[[maybe_unused]] float gridSpacing = GridSpacing;
for (uint32_t i = 0; i < AZ::RPI::ModelLodAsset::LodCountMax && gridSize > 0; ++i)
{