summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2023-05-26 06:15:49 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2023-05-26 06:15:49 +0300
commitb9cd6e2e84f9c4161f0151b9f0cee1fcb309d8d7 (patch)
treed92a175355a53fc03d1f50a9aa4eca71787a027c /indra/newview/llagent.cpp
parent74b8ca575ff7f0cfcfd443e03885542bc5b10c46 (diff)
parent626bbe5032cab1fd2641ad02443e421567e7cce5 (diff)
Merge branch 'xcode-14.3' into DRTVWR-582-maint-U
# Conflicts: # indra/llcommon/llsdserialize.h
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 307f73fab4..06c7cc7089 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3738,7 +3738,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))
@@ -3751,7 +3750,6 @@ void LLAgent::processScriptControlChange(LLMessageSystem *msg, void **)
{
gAgent.mControlsTakenCount[i]++;
}
- total_count++;
}
}
}