diff options
author | nat-goodspeed <nat@lindenlab.com> | 2023-08-17 13:05:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 13:05:14 -0400 |
commit | 9d981c72f8d098baeae9e9fa1e3c4737f957bbe2 (patch) | |
tree | e041df46ca357f3071b4c9c7a0799090c45669a6 /indra/llmessage | |
parent | e06cdc329a83b4c1e52eaf39b4b030763b7d8568 (diff) | |
parent | 6cf6f81ae865d4e15b715a93408c7970b6936ce8 (diff) |
Merge pull request #332 from secondlife/DRTVWR-588-monterey
Remove unused counters that cause fatal warnings
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/llcircuit.cpp | 2 | ||||
-rwxr-xr-x | indra/llmessage/tests/test_llsdmessage_peer.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/indra/llmessage/llcircuit.cpp b/indra/llmessage/llcircuit.cpp index 8baa2e328b..a9a292958f 100644 --- a/indra/llmessage/llcircuit.cpp +++ b/indra/llmessage/llcircuit.cpp @@ -271,7 +271,6 @@ void LLCircuitData::ackReliablePacket(TPACKETID packet_num) S32 LLCircuitData::resendUnackedPackets(const F64Seconds now) { - S32 resent_packets = 0; LLReliablePacket *packetp; @@ -375,7 +374,6 @@ S32 LLCircuitData::resendUnackedPackets(const F64Seconds now) // Don't remove it yet, it still gets to try to resend at least once. ++iter; } - resent_packets++; } else { diff --git a/indra/llmessage/tests/test_llsdmessage_peer.py b/indra/llmessage/tests/test_llsdmessage_peer.py index 5ba0749e31..8e9b6c09e7 100755 --- a/indra/llmessage/tests/test_llsdmessage_peer.py +++ b/indra/llmessage/tests/test_llsdmessage_peer.py @@ -33,8 +33,8 @@ import os import sys from http.server import HTTPServer, BaseHTTPRequestHandler -from llbase.fastest_elementtree import parse as xml_parse -from llbase import llsd +from llsd.fastest_elementtree import parse as xml_parse +import llsd from testrunner import freeport, run, debug, VERBOSE import time |