projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6a13d
)
defins.t: Suppress uninit warning
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 12 Oct 2012 03:26:23 +0000
(20:26 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 12 Oct 2012 06:07:37 +0000
(23:07 -0700)
and make the no-warnings test pass.
t/op/defins.t
patch
|
blob
|
history
diff --git
a/t/op/defins.t
b/t/op/defins.t
index
d4ad2cf
..
d3d50fb
100644
(file)
--- a/
t/op/defins.t
+++ b/
t/op/defins.t
@@
-133,6
+133,7
@@
cmp_ok($seen,'==',1,'saw file in bare "... while readdir"');
rewinddir(DIR);
$seen = 0;
+$_ = ""; # suppress uninit warning
do
{
$seen++ if $_ eq $wanted_filename;