summaryrefslogtreecommitdiff
path: root/indra/llmessage/lldatapacker.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-06-21 17:55:29 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-06-21 17:55:29 +0300
commit076a89506243e8d4037f34c2a78278ff6ee0f1f7 (patch)
tree45c3ec67ebbdda60386f6b131fd218a292f77d52 /indra/llmessage/lldatapacker.cpp
parent791b7ff0e99c40b9de1b542f1231d21faebada05 (diff)
SL-17635 remove unused variables
Diffstat (limited to 'indra/llmessage/lldatapacker.cpp')
-rw-r--r--indra/llmessage/lldatapacker.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llmessage/lldatapacker.cpp b/indra/llmessage/lldatapacker.cpp
index 96c1297e0d..b6adc102d2 100644
--- a/indra/llmessage/lldatapacker.cpp
+++ b/indra/llmessage/lldatapacker.cpp
@@ -127,13 +127,7 @@ BOOL LLDataPacker::unpackFixed(F32 &value, const char *name,
total_bits++;
}
- S32 min_val;
U32 max_val;
- if (is_signed)
- {
- min_val = 1 << int_bits;
- min_val *= -1;
- }
max_val = 1 << int_bits;
F32 fixed_val;