aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-23 16:04:50 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-23 16:04:50 +0000
commit98d49f5114a3976fc704dfb3290cf63242fc1999 (patch)
tree1ed998da82fad3098ab75c4147593c065697c490
parent06e559498132bbdb8e3a90ec141b224db3ddf809 (diff)
downloadrpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar
rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar.gz
rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar.bz2
rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar.xz
rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.zip
perl_checker cleanups
-rwxr-xr-xrpmdrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 05066914..b113cf5b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -98,13 +98,13 @@ sub do_search($$$$$$$) {
$searchw->sync;
# should probably not account backports packages or find a way to search them:
my $total_size = keys %$pkgs;
- my ($progresscount, $found);
+ my $progresscount;
my $update_search_pb = sub {
$progresscount++;
if (!($progresscount % 100)) {
$progresscount <= $total_size and $searchprogress->set_fraction($progresscount/$total_size);
- $searchw->flush ; # refresh and handle clicks
+ $searchw->flush; # refresh and handle clicks
}
};
foreach my $medium (grep { !$_->{ignore} } @{$urpm->{media}}) {
@@ -167,7 +167,7 @@ sub do_search($$$$$$$) {
};
my $err = $@;
if ($err =~ /search aborted/) {
- my $wait = statusbar_msg(N("Search aborted"), 1);
+ statusbar_msg(N("Search aborted"), 1);
}
}
}