From 7cb4edd01c77f67a536d248682020182b3f8a53d Mon Sep 17 00:00:00 2001 From: "Hunter L. Allen" Date: Wed, 17 May 2017 21:20:44 -0500 Subject: [PATCH] Fixed a compiler warning in the memops.c file. --- common/memops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/memops.c b/common/memops.c index a503ce2b..fa4193eb 100644 --- a/common/memops.c +++ b/common/memops.c @@ -176,7 +176,7 @@ /* generates same as _mm_set_ps(1.f, 1.f, 1f., 1f) but faster */ static inline __m128 gen_one(void) { - volatile __m128i x; + volatile __m128i x = { 0 }; /* shut up, GCC */ __m128i ones = _mm_cmpeq_epi32(x, x); return (__m128)_mm_slli_epi32 (_mm_srli_epi32(ones, 25), 23); }