summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-28 11:50:35 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-28 11:50:35 -0800
commita9c4ed26e71af48adf3d364a5005150449cc7dac (patch)
tree58f7f88707fc9aafb10e0e9a9fdb851e04cc9310 /indra/llmath
parent44dc3c0713dc3efa90a94a6005f0b491cd509456 (diff)
Try for a slightly cunning fix to CID-352
Checker: UNINIT_CTOR Function: LLInterp<float>::LLInterp() File: /indra/llmath/llinterp.h
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llinterp.h3
1 files changed, 2 insertions, 1 deletions
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 <typename Type>
class LLInterp
{
public:
- LLInterp();
+ LLInterp();
virtual ~LLInterp() {}
virtual void start();
@@ -151,6 +151,7 @@ protected:
template <typename Type>
LLInterp<Type>::LLInterp()
+: mStartVal(Type()), mEndVal(Type()), mCurVal(Type())
{
mStartTime = 0.f;
mEndTime = 1.f;