projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7b13eb7
)
IRIX SMP turned up a few hundred "Use of uninitialized
Jarkko Hietaniemi [Sun, 19 May 2002 01:41:54 +0000 (
01:41
+0000)]
value in numeric eq" warnings: initialise the $counter2.
p4raw-id: //depot/perl@16690
ext/threads/shared/t/cond.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/threads/shared/t/cond.t
b/ext/threads/shared/t/cond.t
index
8c79347
..
aa80aab
100644
(file)
--- a/
ext/threads/shared/t/cond.t
+++ b/
ext/threads/shared/t/cond.t
@@
-217,9
+217,9
@@
sub ok {
# ditto with refs and shared()
- my $counter2;
+ my $counter2 = 0;
share($counter2);
- my $r = \$counter2;
+ my $r = \$counter2;
sub waiter2 {
lock($r);