Skip to content

Commit 9dc4d08

Browse files
committed
isUTF8_CHAR: Add a const to a variable
This function better not change it
1 parent b034572 commit 9dc4d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inline.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
22432243
incomplete_char_action) \
22442244
STMT_START { \
22452245
const U8 * s = s0; \
2246-
const U8 * e_ = e; \
2246+
const U8 * const e_ = e; \
22472247
UV state = 0; \
22482248
\
22492249
PERL_NON_CORE_CHECK_EMPTY(s, e_); \

0 commit comments

Comments
 (0)