]> git.donarmstrong.com Git - debhelper.git/commitdiff
remove dead code
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 21 Mar 2009 01:40:53 +0000 (21:40 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 21 Mar 2009 01:40:53 +0000 (21:40 -0400)
This case can never happen, because code in Dh_Getopt makes the same
check earlier.

Debian/Debhelper/Dh_Lib.pm

index 400549443494275026491a4fe8ccfc5acf07b730..d481128362708228433740ee4c314c2cb5c2c82f 100644 (file)
@@ -74,9 +74,6 @@ sub init {
        # Check if packages to build have been specified, if not, fall back to
        # the default, doing them all.
        if (! defined $dh{DOPACKAGES} || ! @{$dh{DOPACKAGES}}) {
-               if ($dh{DOINDEP} || $dh{DOARCH} || $dh{DOSAME}) {
-                       error("You asked that all arch in(dep) packages be built, but there are none of that type.");
-               }
                push @{$dh{DOPACKAGES}},@allpackages;
        }