From 259147a436a1530733a250935ff866b6c6f78621 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 20 Mar 2009 21:40:53 -0400 Subject: [PATCH] remove dead code This case can never happen, because code in Dh_Getopt makes the same check earlier. --- Debian/Debhelper/Dh_Lib.pm | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.39.2