From c41b2540e92ea1e5c8c0019b8a4c085c5fd741e8 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 14 Sep 2016 17:09:51 -0600 Subject: inline.h: Add 'const's; avoid hiding outer variable This changes some formal parameters to be const, and avoids reusing the same variable name within an inner block, to avoid confusion --- mathoms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mathoms.c') diff --git a/mathoms.c b/mathoms.c index 1480186f69..a3f20e79f4 100644 --- a/mathoms.c +++ b/mathoms.c @@ -690,7 +690,7 @@ Perl_init_i18nl14n(pTHX_ int printwarn) } bool -Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep) +Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep) { PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC; -- cgit v1.2.1