From: Joey Hess Date: Sat, 21 Mar 2009 01:40:53 +0000 (-0400) Subject: remove dead code X-Git-Tag: 7.2.7~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=259147a436a1530733a250935ff866b6c6f78621;p=debhelper.git remove dead code This case can never happen, because code in Dh_Getopt makes the same check earlier. --- diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 4005494..d481128 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; }