diff options
author | Karl Williamson <khw@cpan.org> | 2021-04-15 09:13:28 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-04-15 09:17:22 -0600 |
commit | a16bc7c90b69db2b86100bc193be62d92e1167d4 (patch) | |
tree | 4e0b09679f57f575ea941012e68fc91ca15fe92d /locale.c | |
parent | b85af0abadb53653ba40bafefa713b7739ea98fa (diff) | |
download | perl-a16bc7c90b69db2b86100bc193be62d92e1167d4.tar.gz |
locale.c: Use memzero, instead of memset(0)
Clearer to use the more direct operation
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4719,7 +4719,7 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category) # if defined(HAS_MBRTOWC) && defined(USE_ITHREADS) /* Prefer this function if available, as it's reentrant */ - memset(&ps, 0, sizeof(ps));; + memzero(&ps, sizeof(ps));; PERL_UNUSED_RESULT(mbrtowc(&wc, NULL, 0, &ps)); /* Reset any shift state */ SETERRNO(0, 0); |