This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
gv_fetchpvn_flags: Simplify some warnings code
authorBrian Fraser <fraserbn@gmail.com>
Thu, 9 May 2013 23:19:33 +0000 (20:19 -0300)
committerTony Cook <tony@develop-help.com>
Wed, 11 Sep 2013 00:28:29 +0000 (10:28 +1000)
commit9e5de6ae775d6886b3c0b1f745e8a1416ac9b1cd
tree7afc09ba367560dcaaa99afc9a8747121ef5f141
parent71c35c050edbde3b10f7b0ec3be6dc532979ff36
gv_fetchpvn_flags: Simplify some warnings code

This line originally checked isLEXWARN_on and had two different code
paths depending on that -- one of which called ckWARN(), which already
checks for isLEXWARN_off, so rather than doing duplicate work, we
just call ckWARN().
gv.c