diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-03-20 21:40:53 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-20 21:40:53 -0400 |
commit | 259147a436a1530733a250935ff866b6c6f78621 (patch) | |
tree | 6f2234c0af9e3edcfc5f94eec1fc16e30147d0de /Debian | |
parent | ef74e1767100abbf1aeff3654bfb5b0a3403c5ff (diff) | |
download | debhelper-259147a436a1530733a250935ff866b6c6f78621.tar.gz |
remove dead code
This case can never happen, because code in Dh_Getopt makes the same
check earlier.
Diffstat (limited to 'Debian')
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 40054944..d4811283 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -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; } |