From 7bc27f76a81245ee8d201587b8031160d8dfbce5 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 30 Jul 2010 00:45:06 +0000 Subject: - fix warning on perl 5.12, spotted by olivier thauvin ( Odd number of elements in anonymous hash at URPM/Resolve.pm line 1192. ) --- URPM/Resolve.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'URPM') diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 70105d3..7e38db8 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1192,7 +1192,7 @@ sub _unselect_package_deprecated_by_property { set_rejected_and_compute_diff_provides($urpm, $state, $diff_provides_h, { rejected_pkg => $p, obsoleted => $obsoleted, removed => !$obsoleted, - from => $pkg, why => $obsoleted ? () : { old_requested => 1 }, + from => $pkg, why => $obsoleted ? undef : { old_requested => 1 }, }); $obsoleted or ++$state->{oldpackage}; }); -- cgit v1.2.1