]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Common.pm
fixup $status typo; $dist typo
[debbugs.git] / Debbugs / Common.pm
index f1b6a144d8977c6cb234008bf7e2a373d51ddde1..a444a469d432a258556c8c9cf7436d406f94593a 100644 (file)
@@ -92,8 +92,6 @@ sub getbugcomponent {
        # getbuglocation() directly first.
        return undef if defined $location and
                        ($location ne 'db' and $location ne 'db-h');
-       # if there is no location, the bug doesn't exist
-       return undef if not defined $location;
     }
     my $dir = getlocationpath($location);
     return undef if not defined $dir;