From 45749f7b3b837dd1fd7e2888b5ab1380cc080cba Mon Sep 17 00:00:00 2001 From: Oldes Huhuman Date: Thu, 26 Oct 2023 16:40:28 +0200 Subject: [PATCH] FIX: not initialized local variable --- src/core/s-unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/s-unicode.c b/src/core/s-unicode.c index dc8baf497d..ba9e6eb06e 100644 --- a/src/core/s-unicode.c +++ b/src/core/s-unicode.c @@ -392,7 +392,7 @@ Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) { const REBYTE *end = str + len; const REBYTE *acc = str - 1; #ifdef USE_NEW_UTF8_DECODE - REBCNT codepoint; + REBCNT codepoint = 0; REBCNT state = UTF8_ACCEPT; for (; str < end; ++str) {