diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2022-08-24 14:00:16 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2022-08-24 14:00:16 -0400 |
commit | 65612700f389d453d4817fb3f68429a60ea144b8 (patch) | |
tree | fad6dd15459fde9ca13170e354afcdb328a40f87 /indra/llmessage/lldatapacker.cpp | |
parent | 2c95174031ecf3970bee685d90c3e2469cd15254 (diff) |
DRTVWR-558: Eliminate many spurious set-not-used variables.
With Xcode 13.4, these unused variables break Release builds.
Diffstat (limited to 'indra/llmessage/lldatapacker.cpp')
-rw-r--r-- | indra/llmessage/lldatapacker.cpp | 6 |
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; |