From f7f4dae3d82d8ea97f60170c3468fa622639a6ad Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 27 Jan 2010 13:56:53 -0800 Subject: CID-127 Checker: NO_EFFECT Function: LLOctreeNode::updateMinMax() File: /indra/llmath/lloctree.h --- indra/llmath/lloctree.h | 1 - 1 file changed, 1 deletion(-) (limited to 'indra/llmath') diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h index ba8776690a..2f34fb1bb0 100644 --- a/indra/llmath/lloctree.h +++ b/indra/llmath/lloctree.h @@ -183,7 +183,6 @@ public: { mMax.mdV[i] = mCenter.mdV[i] + mSize.mdV[i]; mMin.mdV[i] = mCenter.mdV[i] - mSize.mdV[i]; - mCenter.mdV[i] = mCenter.mdV[i]; } } -- cgit v1.2.3 From a9c4ed26e71af48adf3d364a5005150449cc7dac Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Thu, 28 Jan 2010 11:50:35 -0800 Subject: Try for a slightly cunning fix to CID-352 Checker: UNINIT_CTOR Function: LLInterp::LLInterp() File: /indra/llmath/llinterp.h --- indra/llmath/llinterp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/llmath') diff --git a/indra/llmath/llinterp.h b/indra/llmath/llinterp.h index 36ca2e9865..88af004170 100644 --- a/indra/llmath/llinterp.h +++ b/indra/llmath/llinterp.h @@ -54,7 +54,7 @@ template class LLInterp { public: - LLInterp(); + LLInterp(); virtual ~LLInterp() {} virtual void start(); @@ -151,6 +151,7 @@ protected: template LLInterp::LLInterp() +: mStartVal(Type()), mEndVal(Type()), mCurVal(Type()) { mStartTime = 0.f; mEndTime = 1.f; -- cgit v1.2.3