This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix diag.t failure with diag_listed_as comment
authorFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 04:45:05 +0000 (21:45 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 20:01:17 +0000 (13:01 -0700)
sv.c

diff --git a/sv.c b/sv.c
index 7cbf26c..742518a 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -14317,6 +14317,7 @@ Perl_report_uninit(pTHX_ const SV *uninit_sv)
            if (varname)
                sv_insert(varname, 0, 0, " ", 1);
        }
+       /* diag_listed_as: Use of uninitialized value%s */
        Perl_warner(aTHX_ packWARN(WARN_UNINITIALIZED), PL_warn_uninit_sv,
                SVfARG(varname ? varname : &PL_sv_no),
                " in ", OP_DESC(PL_op));