develooper Front page | perl.perl5.porters | Postings from January 2015

Re: [perl #123616] Weed out needless PERL_UNUSED_ARG

Thread Previous | Thread Next
January 18, 2015 01:26
Re: [perl #123616] Weed out needless PERL_UNUSED_ARG
Message ID:
bulk88 <> wrote: wrote:
:> "bulk88 via RT" <> wrote:
:> :Im inclined to say is wrong. output_warning is unused in non-DEBUGGING and DEBUGGING. I removed it as an experiment and both build types compiled, see attached patch.
:> How is that managing to compile line 226, just after the context lines
:> in the patch:
:>     if (strict || ! output_warning) {
:> ?
:> Hugo
:My patch worked on blead from Jan 6 2015/ 
:735ecbe919d740c2d0068de6daf6f2359bbcd3eb  :(
:var output_warning really was unused on that day

Ah, the reference was newly added by khw in 879eb60498 a week ago:
    Output warning in qr// only once


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About