The following commit has been merged in the master branch:
commit 2275056d3a6eae487539ccb53feaf13a94c00c30
Author: Adam D. Barratt <[EMAIL PROTECTED]>
Date: Sat Sep 13 17:17:06 2008 +0100
Fix an uninitialized value warning in add_file()
Currently neither the laboratory files for binary/udeb packages nor
the "packages file" passed with -p include architecture information.
In the future they most likely will, but for now treat a missing
architecture as blank to avoid use of an uninitialized value.
diff --git a/lib/Lintian/Schedule.pm b/lib/Lintian/Schedule.pm
index 3c36363..71d4a97 100644
--- a/lib/Lintian/Schedule.pm
+++ b/lib/Lintian/Schedule.pm
@@ -47,6 +47,7 @@ sub add_file {
} else {
($pkg, $ver, $arch) =
@pkg_info{qw(package version architecture)};
+ $arch ||= "";
}
my $s = "$type $pkg $ver $arch $file";
--
Debian package checker
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]