develooper Front page | perl.perl5.porters | Postings from September 2014

Useless assignment in Perl_sv_vcatpvfn_flags with infnan?

Thread Next
From:
Father Chrysostomos
Date:
September 27, 2014 23:26
Subject:
Useless assignment in Perl_sv_vcatpvfn_flags with infnan?
Message ID:
20140927232604.5813.qmail@lists-nntp.develooper.com
This occurs a few times:

            if (infnan) {
                c = 'g';
                goto floating_point;
            }

The 'goto' goesto this code:

        floating_point:

        case 'F':
            c = 'f';            /* maybe %F isn't supported here */

So what was the intent of the c = 'g' assignment?

(And please don't go ahead and fix it, as I am fixing other things in
this area and our patches may conflict.)


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About