This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
av_fetch(): remove redundant condition
authorDavid Mitchell <davem@iabyn.com>
Wed, 17 Aug 2016 08:01:44 +0000 (09:01 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 17 Aug 2016 08:01:44 +0000 (09:01 +0100)
commita54d139f3c5753e3de93051a7a2c1190ed3e7615
tree28feb7ef9e3f241427513abb093b5270ba8665d8
parent6ffb8402de3d7395c1145d4c773b8536ff0454b2
av_fetch(): remove redundant condition

At the point of testing for !AvARRAY(av)[key] if AvREIFY(av), it's already
been confirmed that the array element isn't null.
av.c