Simplify the code in Perl_nextargv().
authorNicholas Clark <nick@ccl4.org>
Sun, 2 Mar 2014 09:02:51 +0000 (10:02 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 19 Mar 2014 09:57:53 +0000 (10:57 +0100)
commitd8015975ab8da00c47775a05a91a9d72f379bf1b
tree76edf5fc52d04f1504378bf7d0d3aa98b1ad0782
parentd5eb9a4687ba974ffd0d02aab53326c5aba6a9e0
Simplify the code in Perl_nextargv().

Split the ternary that called Perl_do_open_raw() and Perl_do_open6() based
on PL_inplace into two different if blocks, and merge these with the following
code which is also conditional on PL_inplace.

Remove the warning code from an else block and re-indent it, to make it clear
that it is always called if control reaches the end of the while loop.
doio.c