From: Guillem Jover Date: Mon, 7 Jan 2008 20:00:54 +0000 (+0200) Subject: dpkg-checkbuilddeps: Remove unused $dep_regex X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d272131297d3500d313c90c5b1d01a8f2f6fb279;p=dpkg dpkg-checkbuilddeps: Remove unused $dep_regex --- diff --git a/ChangeLog b/ChangeLog index 280d82d5..6cb7ff2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-07 Guillem Jover + + * scripts/dpkg-checkbuilddeps.pl: Remove unused $dep_regex. + 2008-01-07 Guillem Jover * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit diff --git a/scripts/dpkg-checkbuilddeps.pl b/scripts/dpkg-checkbuilddeps.pl index 57c57430..68ace33f 100755 --- a/scripts/dpkg-checkbuilddeps.pl +++ b/scripts/dpkg-checkbuilddeps.pl @@ -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"},