From e69687b0f290a6ea519d167d467530ddc0a0de6e Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Tue, 28 Apr 2015 14:06:52 +0200 Subject: [PATCH] silenced a warning (potentially unintialised variable) --- components/nif/nifkey.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/nif/nifkey.hpp b/components/nif/nifkey.hpp index cb8142720..b36b1d8cb 100644 --- a/components/nif/nifkey.hpp +++ b/components/nif/nifkey.hpp @@ -18,6 +18,8 @@ struct KeyT { float mTension; // Only for TBC interpolation float mBias; // Only for TBC interpolation float mContinuity; // Only for TBC interpolation + + KeyT() : mTension (0), mBias (0), mContinuity (0) {} }; typedef KeyT FloatKey; typedef KeyT Vector3Key;