Clang 13: Fix build errors ...

... due to local variables only being written to (but never read).

Signed-off-by: Daniel Edwards <dev@danieledwards.de>
This commit is contained in:
Daniel Edwards
2022-01-22 14:36:20 +01:00
parent 878ba24a3f
commit 0a5f472f43
42 changed files with 50 additions and 50 deletions
@@ -72,8 +72,8 @@ namespace NvCloth
// Maximum number of spheres and capsules is imposed by NvCloth library
size_t sphereCount = 0;
size_t capsuleCount = 0;
bool maxSphereCountReachedWarned = false;
bool maxCapsuleCountReachedWarned = false;
[[maybe_unused]] bool maxSphereCountReachedWarned = false;
[[maybe_unused]] bool maxCapsuleCountReachedWarned = false;
AZStd::vector<SphereCollider> sphereColliders;
AZStd::vector<CapsuleCollider> capsuleColliders;