summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-04-03 13:53:18 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-04-03 13:53:18 -0400
commit230c96b20d8658236e83742169a7744b18a04ed2 (patch)
tree2e02b454a11a7562ba48a10e01d2a3352a5de505 /indra/llmath/llvolume.cpp
parentc7053a6928fd5eafdc935453742e92951ae4e0c1 (diff)
SL-18330: Remove some set-but-unused vars flagged by Xcode 14.3.
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rw-r--r--indra/llmath/llvolume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index 281f1bd87a..8c19379e0e 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -5482,14 +5482,14 @@ bool LLVolumeFace::cacheOptimize()
new_indices.push_back(tri->mVertex[2]->mIdx);
tri->complete();
- U32 breaks = 0;
+ //U32 breaks = 0;
for (U32 i = 1; i < mNumIndices/3; ++i)
{
cache.updateScores();
tri = cache.mBestTriangle;
if (!tri)
{
- breaks++;
+ //breaks++;
for (U32 j = 0; j < triangle_data.size(); ++j)
{
if (triangle_data[j].mActive)