diff options
author | James E Keenan <jkeenan@cpan.org> | 2021-01-10 01:51:15 +0000 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-01-10 07:10:34 -0700 |
commit | 53deed8922394340ce196a8092ba2ecdd30fc1bc (patch) | |
tree | 8f64950a18f27176b31730e4814969f4960f8c59 /regexec.c | |
parent | 294f60cbf8e3f2ff407c4e11c89b51678d415a47 (diff) | |
download | perl-53deed8922394340ce196a8092ba2ecdd30fc1bc.tar.gz |
Correct for build-time warning
Addresses this build-time warning:
suggest braces around initialization of subobject [-Wmissing-braces]
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4527,7 +4527,7 @@ S_setup_EXACTISH_ST(pTHX_ const regnode * const text_node, /* Here and below, '15' is the value of UTF8_MAXBYTES_CASE, which requires at least :e */ - U8 matches[MAX_MATCHES][UTF8_MAXBYTES_CASE + 1] = { 0 }; + U8 matches[MAX_MATCHES][UTF8_MAXBYTES_CASE + 1] = { { 0 } }; U8 lengths[MAX_MATCHES] = { 0 }; U8 index_of_longest = 0; |