summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2021-10-31 04:51:34 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2021-10-31 05:38:18 +0100
commit3703d95e9871794ff4a9594d4f3c852f119201cc (patch)
treebf914458361b6745d68b493af6acb10ff5947d7a /urpm/select.pm
parent251676561b5cc8b47d525813ef7555a6e363eeb6 (diff)
downloadurpmi-3703d95e9871794ff4a9594d4f3c852f119201cc.tar
urpmi-3703d95e9871794ff4a9594d4f3c852f119201cc.tar.gz
urpmi-3703d95e9871794ff4a9594d4f3c852f119201cc.tar.bz2
urpmi-3703d95e9871794ff4a9594d4f3c852f119201cc.tar.xz
urpmi-3703d95e9871794ff4a9594d4f3c852f119201cc.zip
(migrate_forward_rpmdb_db_if_needed) Kill useless arg
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 57bde8aa..4e17f616 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -757,7 +757,7 @@ sub should_we_migrate_back_rpmdb_db_version {
}
sub migrate_forward_rpmdb_db_if_needed {
- my ($urpm, $state) = @_;
+ my ($urpm) = @_;
my ($pkg) = $urpm->packages_providing('rpm') or return;
my $rooted_rpm_version = version->new("v" . $pkg->version); # perl_checker: $self = revision