lintian: r1052 - in trunk: debian lib
Author: djpig
Date: 2007-12-06 00:55:49 +0100 (Thu, 06 Dec 2007)
New Revision: 1052
Modified:
trunk/debian/changelog
trunk/lib/Dep.pm
Log:
Fix "uninitialized value" warning in pred_implies()
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-12-05 23:50:39 UTC (rev 1051)
+++ trunk/debian/changelog 2007-12-05 23:55:49 UTC (rev 1052)
@@ -5,6 +5,9 @@
* checks/patch-systems:
+ [FL] Try appending .dpatch to patchnames found in 00list.
Patch by Leo Antunes. (Closes: #454516, #454518)
+
+ * lib/Dep.pm:
+ + [FL] Fix "uninitialized value" warning in pred_implies().
-- Frank Lichtenheld <djpig@debian.org> Thu, 06 Dec 2007 00:40:17 +0100
Modified: trunk/lib/Dep.pm
===================================================================
--- trunk/lib/Dep.pm 2007-12-05 23:50:39 UTC (rev 1051)
+++ trunk/lib/Dep.pm 2007-12-05 23:55:49 UTC (rev 1052)
@@ -252,6 +252,7 @@
sub pred_implies {
my ($p, $q) = @_;
# If the names don't match, there is no relationship between them.
+ $$p[1] ||= ''; $$q[1] ||= '';
return undef if $$p[1] ne $$q[1];
# If the names match, then the only difference is in the architecture or
Reply to: