diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 13:58:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 13:58:18 +0000 |
commit | 6c48950639e828813fe1a3e1244bae8a85b3a71c (patch) | |
tree | 059d4805d13967265ef999d94194a746023b08c5 /URPM | |
parent | 02d94bed03c1c8306869736b6d71511c82037db0 (diff) | |
download | perl-URPM-6c48950639e828813fe1a3e1244bae8a85b3a71c.tar perl-URPM-6c48950639e828813fe1a3e1244bae8a85b3a71c.tar.gz perl-URPM-6c48950639e828813fe1a3e1244bae8a85b3a71c.tar.bz2 perl-URPM-6c48950639e828813fe1a3e1244bae8a85b3a71c.tar.xz perl-URPM-6c48950639e828813fe1a3e1244bae8a85b3a71c.zip |
rename var, $dep will only be used as an element from @properties
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index c82e878..ac798ac 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -680,8 +680,8 @@ sub resolve_requested__no_suggests { unshift @properties, backtrack_selected($urpm, $db, $state, +{ keep => \@keep, psel => $pkg }, %options); } } - if (defined ($dep = shift @diff_provides)) { - _handle_diff_provides($urpm, $db, $state, \@properties, $dep->{name}, $dep->{pkg}, %options); + if (defined (my $diff = shift @diff_provides)) { + _handle_diff_provides($urpm, $db, $state, \@properties, $diff->{name}, $diff->{pkg}, %options); } } while @diff_provides || @properties; |