summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/dist/Math-BigInt
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2015-04-25 19:14:36 +0000
committerafresh1 <afresh1@openbsd.org>2015-04-25 19:14:36 +0000
commite9260a2109384575f8cd9fa929a31d4eb3290b65 (patch)
tree9096b19bb2e9d2cf7a3bfb6d70385e971df2781a /gnu/usr.bin/perl/dist/Math-BigInt
parentImport perl-5.20.2 (diff)
downloadwireguard-openbsd-e9260a2109384575f8cd9fa929a31d4eb3290b65.tar.xz
wireguard-openbsd-e9260a2109384575f8cd9fa929a31d4eb3290b65.zip
Fix merge issues, remove excess files - match perl-5.20.2 dist
Diffstat (limited to 'gnu/usr.bin/perl/dist/Math-BigInt')
-rw-r--r--gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm b/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm
index a2aabc18648..eff27b95a97 100644
--- a/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm
+++ b/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm
@@ -2677,12 +2677,11 @@ sub objectify {
next;
}
-# # Don't do anything with undefs.
-#
-# unless (defined($a[$i])) {
-# next;
-# }
- $a[$i] //= 0;
+ # Don't do anything with undefs.
+
+ unless (defined($a[$i])) {
+ next;
+ }
# Perl scalars are fed to the appropriate constructor.