From 111eef7c7f4f05a20ce7ead068e0bb7bc265280b Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sat, 4 Mar 2023 14:18:38 +0100 Subject: [PATCH] fold: initialize state Signed-off-by: Wolfgang Bumiller --- fold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fold.cpp b/fold.cpp index 56ff7f2..8c1c2cf 100644 --- a/fold.cpp +++ b/fold.cpp @@ -601,7 +601,7 @@ static GMQCC_INLINE void vec3_check_except(vec3_t a, lex_ctx_t ctx, sfloat_t (*callback)(sfloat_state_t *, sfloat_t, sfloat_t)) { - vec3_soft_state_t state; + vec3_soft_state_t state = {}; if (!OPTS_FLAG(ARITHMETIC_EXCEPTIONS)) return; -- 2.39.2