This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
There's no need to special case SVt_NULL in the print code, as it's
authorNicholas Clark <nick@ccl4.org>
Wed, 14 Feb 2007 20:59:02 +0000 (20:59 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 14 Feb 2007 20:59:02 +0000 (20:59 +0000)
commite9950d3b0610b91bb9d19cb0918fe7e81505fd79
tree2d7e500b8cd54c03dcd20c64dffca428b870b7ba
parentd56b30146911a1c03e38fbb1e59b6f4edf749c91
There's no need to special case SVt_NULL in the print code, as it's
only 0.01% of the cases called, and the call to SvPV_const() will
issue the same warning and return the same empty string result for us.
Unfortunately changing the switch statement to an if results in lots of
whitespace changes, hence this change appears much larger than it is.

p4raw-id: //depot/perl@30298
doio.c