This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e434a1
)
Fix diag.t failure with diag_listed_as comment
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 6 Oct 2011 04:45:05 +0000
(21:45 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 6 Oct 2011 20:01:17 +0000
(13:01 -0700)
sv.c
patch
|
blob
|
blame
|
history
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));