summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-09 15:57:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-09 15:57:09 +0000
commit0e31a94acfe62c993bb9d46da8867238412d750d (patch)
tree21acaa82277a597207b7370f361917cd34125ba3 /gurpmi2
parent3cfc64680255e73b831fc50fc98e72536f2912f6 (diff)
downloadurpmi-0e31a94acfe62c993bb9d46da8867238412d750d.tar
urpmi-0e31a94acfe62c993bb9d46da8867238412d750d.tar.gz
urpmi-0e31a94acfe62c993bb9d46da8867238412d750d.tar.bz2
urpmi-0e31a94acfe62c993bb9d46da8867238412d750d.tar.xz
urpmi-0e31a94acfe62c993bb9d46da8867238412d750d.zip
remove unused variable
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi21
1 files changed, 0 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index af157ce0..c068b3ed 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -284,7 +284,6 @@ sub do_install_3 () {
if (keys(%transaction_sources_install) || keys(%transaction_sources)) {
@{$set->{remove} || []} and
$progress_label->set_label(N("removing %s", join(' ', @{$set->{remove} || []})));
- my $total_nb = scalar grep { m|^/| } values %transaction_sources_install, values %transaction_sources;
my $callback_inst = sub {
my ($urpm, $type, $id, $subtype, $amount, $total) = @_;
my $pkg = defined $id ? $urpm->{depslist}[$id] : undef;