From d6c265daf6d6316b5a1ff1c34c3eb2c7449739dd Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Fri, 5 Sep 2014 23:51:43 +0200 Subject: [PATCH] Fix VS warning --- lib/irrlicht/include/matrix4.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/irrlicht/include/matrix4.h b/lib/irrlicht/include/matrix4.h index 13f729c1e..5b3076a02 100644 --- a/lib/irrlicht/include/matrix4.h +++ b/lib/irrlicht/include/matrix4.h @@ -1329,9 +1329,9 @@ namespace core float *dst = (float*)out.pointer(); // from http://www.intel.com/design/pentiumiii/sml/245043.htm { - __m128 minor0, minor1, minor2, minor3; - __m128 row0, row1, row2, row3; - __m128 det, tmp1; + __m128 minor0 = {}, minor1 = {}, minor2 = {}, minor3 = {}; + __m128 row0 = {}, row1 = {}, row2 = {}, row3 = {}; + __m128 det = {}, tmp1 = {}; tmp1 = _mm_loadh_pi(_mm_loadl_pi(tmp1, (__m64*)(src)), (__m64*)(src + 4)); row1 = _mm_loadh_pi(_mm_loadl_pi(row1, (__m64*)(src + 8)), (__m64*)(src + 12)); row0 = _mm_shuffle_ps(tmp1, row1, 0x88);