summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-05-19 17:33:27 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-05-19 17:33:27 -0400
commitb61ea595b5f2cac0f108b05526f0a371f512bfd4 (patch)
tree57cce285218550dd2c0378ac8bf0c1c1d856701e /indra/llui/llbutton.cpp
parent84278d0d2c404a02c6292a6d99f38a88e77a6490 (diff)
SL-18837: Clean up more set-but-unused variables for Xcode 14.3
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 8028f397f3..3354cb2db3 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -942,11 +942,8 @@ void LLButton::draw()
break;
}
- S32 y_offset = 2 + (getRect().getHeight() - 20)/2;
-
if (pressed && mDisplayPressedState)
{
- y_offset--;
x++;
}