Skip to content

Commit

Permalink
FIX: not initialized local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Oct 26, 2023
1 parent 1871d95 commit 45749f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/s-unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 45749f7

Please sign in to comment.