Skip to content

Commit 45749f7

Browse files
committed
FIX: not initialized local variable
1 parent 1871d95 commit 45749f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/s-unicode.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) {
392392
const REBYTE *end = str + len;
393393
const REBYTE *acc = str - 1;
394394
#ifdef USE_NEW_UTF8_DECODE
395-
REBCNT codepoint;
395+
REBCNT codepoint = 0;
396396
REBCNT state = UTF8_ACCEPT;
397397

398398
for (; str < end; ++str) {

0 commit comments

Comments
 (0)