diff options
author | Karl Williamson <khw@cpan.org> | 2016-08-22 12:25:00 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-08-31 20:32:35 -0600 |
commit | 55c5b58bc5035d0aff68aee7ed884342913fd9b8 (patch) | |
tree | 3563e80b92ce2952342baec22ffec40680a74d77 /proto.h | |
parent | 2fe720e22e785c4e6125ac67a259c4385eb89a64 (diff) | |
download | perl-55c5b58bc5035d0aff68aee7ed884342913fd9b8.tar.gz |
is_utf8_string_loc() param should not be NULL
It makes no sense to call this function with a NULL parameter, as the
whole point of using this function is to set what that param points to.
If you don't want this, you should be using the similar function that
doesn't have this parameter.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1606,7 +1606,7 @@ PERL_CALLCONV bool Perl_is_utf8_string(const U8 *s, STRLEN len); #ifndef NO_MATHOMS PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \ - assert(s) + assert(s); assert(ep) #endif PERL_CALLCONV bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el); #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \ |