From b158919c4bfecf53e2a6f6adab04913e9d828c3e Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 12 Jun 2014 15:11:52 +0200 Subject: [PATCH] Fix uninitialized variable use --- components/nif/niffile.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/nif/niffile.hpp b/components/nif/niffile.hpp index fbb64e4f74..a9e2c6fe71 100644 --- a/components/nif/niffile.hpp +++ b/components/nif/niffile.hpp @@ -165,6 +165,9 @@ struct KeyListT { void read(NIFStream *nif, bool force=false) { assert(nif); + + mInterpolationType = 0; + size_t count = nif->getUInt(); if(count == 0 && !force) return;