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
(from parent 1:
df6841b
)
UCD.t: Fix 'uninit' warning
author
Karl Williamson
<public@khwilliamson.com>
Wed, 9 Nov 2011 17:51:03 +0000
(10:51 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Wed, 9 Nov 2011 17:59:42 +0000
(10:59 -0700)
An initialization was out of place
lib/Unicode/UCD.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/Unicode/UCD.t
b/lib/Unicode/UCD.t
index
3903d45
..
b904d9a
100644
(file)
--- a/
lib/Unicode/UCD.t
+++ b/
lib/Unicode/UCD.t
@@
-1339,6
+1339,7
@@
foreach my $prop (keys %props) {
}
}
else {
+ $base_file = "Decomposition" if $format eq 'd';
# Above leaves $base_file undefined only if it came from the hash
# below. This should happen only when it is a binary property
@@
-1357,7
+1358,6
@@
foreach my $prop (keys %props) {
}
# Read in the file
- $base_file = "Decomposition" if $format eq 'd';
$file = "unicore/$base_file.pl";
$official = do $file;