aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-22 16:02:44 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-22 16:02:44 +0000
commit867dd47f9461df0caa2071d34edd202ccb7073ad (patch)
treee8169c3664f4dc560c0f394df3bafd74213d3004
parentec9e866fd7198d124dcd1f582b18d9db7b19f89d (diff)
downloadperl-URPM-867dd47f9461df0caa2071d34edd202ccb7073ad.tar
perl-URPM-867dd47f9461df0caa2071d34edd202ccb7073ad.tar.gz
perl-URPM-867dd47f9461df0caa2071d34edd202ccb7073ad.tar.bz2
perl-URPM-867dd47f9461df0caa2071d34edd202ccb7073ad.tar.xz
perl-URPM-867dd47f9461df0caa2071d34edd202ccb7073ad.zip
(Pkg_compare_pkg) minor cleanup
-rw-r--r--URPM.xs3
1 files changed, 0 insertions, 3 deletions
diff --git a/URPM.xs b/URPM.xs
index 8f24568..ecb97d2 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1651,11 +1651,8 @@ Pkg_compare_pkg(lpkg, rpkg)
if (eorarch) *eorarch = 0; rscore = rpmMachineScore(RPM_MACHTABLE_INSTARCH, rarch);
if (lscore == 0) {
if (rscore == 0)
-#if 0
/* Nanar: TODO check this
* hu ?? what is the goal of strcmp, some of arch are equivalent */
- compare = 0
-#endif
compare = strcmp(larch, rarch);
else
compare = -1;