diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-23 16:04:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-23 16:04:50 +0000 |
commit | 98d49f5114a3976fc704dfb3290cf63242fc1999 (patch) | |
tree | 1ed998da82fad3098ab75c4147593c065697c490 | |
parent | 06e559498132bbdb8e3a90ec141b224db3ddf809 (diff) | |
download | rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar.gz rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar.bz2 rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.tar.xz rpmdrake-98d49f5114a3976fc704dfb3290cf63242fc1999.zip |
perl_checker cleanups
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } } } |