Fix yet more warnings.
authorSteinar H. Gunderson <sesse@rietz>
Wed, 7 Mar 2007 19:21:32 +0000 (19:21 +0000)
committerSteinar H. Gunderson <sesse@rietz>
Wed, 7 Mar 2007 19:21:32 +0000 (19:21 +0000)
scanlib.pm

index 2b905c4..82ad6cf 100644 (file)
@@ -297,6 +297,7 @@ sub readstatus() {
                        push @{$packagelist{$pkg}}, $bug;
                } else {
                        ($pkg,$sect, $mnt)=split(/ /, $_, 3);
+                       next if (!defined($pkg));
                        $section{$pkg}=$sect;
                        $maintainer{$pkg}=$mnt;
                }