From f35a229281c1b9dbec1f6f939e97344ed86d5429 Mon Sep 17 00:00:00 2001 From: Nyx Linden Date: Thu, 25 Apr 2013 16:17:01 -0400 Subject: BUILDFIX: removing unused variables --- indra/llappearance/llavatarappearance.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index 0196558a5a..0a15f06bfd 100644 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -493,8 +493,6 @@ void LLAvatarAppearance::computeBodySize() // Camera positioning and other things start to break down when your avatar is "walking" while being fully underground if (new_body_size.mV[VZ] + mAvatarOffset.mV[VZ] < 1.1f) { - F32 old_offset = mAvatarOffset.mV[VZ]; - F32 old_effective_height = new_body_size.mV[VZ] + mAvatarOffset.mV[VZ]; mAvatarOffset.mV[VZ] = -(new_body_size.mV[VZ] - 1.11f); // avoid floating point rounding making the above check continue to fail. llassert(new_body_size.mV[VZ] + mAvatarOffset.mV[VZ] >= 1.1f); -- cgit v1.2.3