Fix for [perl #9423] vec assignments generate 2 warnings
authorBrian Fraser <fraserbn@gmail.com>
Sat, 26 May 2012 20:35:26 +0000 (17:35 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 26 May 2012 21:46:22 +0000 (14:46 -0700)
commit032061d233a4bb16c1677ef64615bdb15de5b8a1
tree25fb6c784794d445049061349684d775ad91de15
parent5204593b74eb08fdcf425b7e9802a23ae74ee094
Fix for [perl #9423] vec assignments generate 2 warnings

Before this commit, this:

    vec(my $v,0,1) = 1;

would've produced four warnings about uninitialized values;
however, the ticket argued that these were spurious.

This commit removes the warning in the case of lvalue vec, since it is
similar to |=, but leaves it in place for rvalue vec.
doop.c
t/lib/warnings/9uninit