]> err.no Git - dpkg/commitdiff
dpkg-checkbuilddeps: Remove unused $dep_regex
authorGuillem Jover <guillem@debian.org>
Mon, 7 Jan 2008 20:00:54 +0000 (22:00 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 7 Jan 2008 20:00:54 +0000 (22:00 +0200)
ChangeLog
scripts/dpkg-checkbuilddeps.pl

index 280d82d5e2db0481548ee1e1f4dadaa5dd5de2ab..6cb7ff2f948ad7aa3e6df2f34991e8f642131210 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-07  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-checkbuilddeps.pl: Remove unused $dep_regex.
+
 2008-01-07  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit
index 57c57430a1183ebefb194196fd7f4481da89077e..68ace33f87dca49dbdfd5c4ca106e255370345f7 100755 (executable)
@@ -54,7 +54,6 @@ my (@unmet, @conflicts);
 push @unmet, build_depends('Implicit-Build-Depends',
                            Dpkg::Deps::parse('build-essential'), $facts);
 
-my $dep_regex=qr/[ \t]*(([^\n]+|\n[ \t])*)\s/; # allow multi-line
 if (defined($fi{"C Build-Depends"})) {
        push @unmet, build_depends('Build-Depends',
                                    Dpkg::Deps::parse($fi{"C Build-Depends"},