Author: cjwatson
Date: 2007-05-15 18:40:56 +0200 (Tue, 15 May 2007)
New Revision: 887

Modified:
   trunk/debian/changelog
   trunk/frontend/lintian-info
Log:
* frontend/lintian-info:
  + [CW] Fix uninitialized value warning after reading a blank line.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2007-05-09 19:02:25 UTC (rev 886)
+++ trunk/debian/changelog      2007-05-15 16:40:56 UTC (rev 887)
@@ -23,6 +23,9 @@
     + [RA] Diagnose removal of device files in maintainer scripts per
       Policy 10.6.  (Closes: #268688)
 
+  * frontend/lintian-info:
+    + [CW] Fix uninitialized value warning after reading a blank line.
+
  -- Russ Allbery <[EMAIL PROTECTED]>  Wed,  9 May 2007 12:01:09 -0700
 
 lintian (1.23.30) unstable; urgency=low

Modified: trunk/frontend/lintian-info
===================================================================
--- trunk/frontend/lintian-info 2007-05-09 19:02:25 UTC (rev 886)
+++ trunk/frontend/lintian-info 2007-05-15 16:40:56 UTC (rev 887)
@@ -76,7 +76,7 @@
 
     my $tag;
     my ($type, $pkg, @pieces) = split(/:\s+/);
-    if ($type =~ m/^[OEWIX]$/) {
+    if (defined $type and $type =~ m/^[OEWIX]$/) {
        $tag = shift @pieces;
        next if not defined $tag;
        ($tag) = split(/\s+/, $tag, 2);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to