From: Wolfgang Bumiller Date: Sat, 4 Mar 2023 13:18:38 +0000 (+0100) Subject: fold: initialize state X-Git-Tag: xonotic-v0.8.6~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=111eef7c7f4f05a20ce7ead068e0bb7bc265280b;p=xonotic%2Fgmqcc.git fold: initialize state Signed-off-by: Wolfgang Bumiller --- 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;