summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2023-08-17 13:05:14 -0400
committerGitHub <noreply@github.com>2023-08-17 13:05:14 -0400
commit9d981c72f8d098baeae9e9fa1e3c4737f957bbe2 (patch)
treee041df46ca357f3071b4c9c7a0799090c45669a6 /indra/newview/llagent.cpp
parente06cdc329a83b4c1e52eaf39b4b030763b7d8568 (diff)
parent6cf6f81ae865d4e15b715a93408c7970b6936ce8 (diff)
Merge pull request #332 from secondlife/DRTVWR-588-monterey
Remove unused counters that cause fatal warnings
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 8cc9be7244..4274982a41 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3708,7 +3708,6 @@ void LLAgent::processScriptControlChange(LLMessageSystem *msg, void **)
// take controls
msg->getU32("Data", "Controls", controls, block_index );
msg->getBOOL("Data", "PassToAgent", passon, block_index );
- U32 total_count = 0;
for (i = 0; i < TOTAL_CONTROLS; i++)
{
if (controls & ( 1 << i))
@@ -3721,7 +3720,6 @@ void LLAgent::processScriptControlChange(LLMessageSystem *msg, void **)
{
gAgent.mControlsTakenCount[i]++;
}
- total_count++;
}
}
}