summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/select.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 3f4ae577..0b5c7fb3 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -444,9 +444,6 @@ sub get_preferred {
$best ? [$best] : [], [@prefer, @l];
}
-my $fullname2name_re = qr/^(.*)-[^\-]*-[^\-]*\.[^\.\-]*$/;
-
-
=item find_packages_to_remove($urpm, $state, $l, %options)
Find packages to remove.
@@ -483,7 +480,7 @@ sub find_packages_to_remove {
if (!$options{matches}) {
foreach (@$l) {
- my ($n, $found);
+ my ($found);
$db->traverse_tag('nvra', [ $_ ], sub {
my ($p) = @_;