This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unicode::UCD: Avoid uninit message
authorKarl Williamson <khw@cpan.org>
Wed, 25 Apr 2018 18:49:19 +0000 (12:49 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 25 Jun 2018 13:33:27 +0000 (07:33 -0600)
commit32ea73a1fb86701a30aeea7df91aa2d38d6344c9
tree363e8173e8b95825d87d576c4af2ccd3d4a5b97a
parentdb55a61c50663045059f798e6696906f94732eb6
Unicode::UCD: Avoid uninit message

I found a case where this array can be empty, so add a test for that to
avoid trying to look at the first (non-existent) element.
charclass_invlists.h
lib/Unicode/UCD.pm
regcharclass.h
uni_keywords.h