diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-22 16:02:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-22 16:02:47 +0000 |
commit | 2fb1e91ceeb25ee136cb10369fabac15096283d2 (patch) | |
tree | ea0a760bf9835dbb24c97828d6a91eb25fef61ba | |
parent | 867dd47f9461df0caa2071d34edd202ccb7073ad (diff) | |
download | perl-URPM-2fb1e91ceeb25ee136cb10369fabac15096283d2.tar perl-URPM-2fb1e91ceeb25ee136cb10369fabac15096283d2.tar.gz perl-URPM-2fb1e91ceeb25ee136cb10369fabac15096283d2.tar.bz2 perl-URPM-2fb1e91ceeb25ee136cb10369fabac15096283d2.tar.xz perl-URPM-2fb1e91ceeb25ee136cb10369fabac15096283d2.zip |
(Pkg_compare) kill noop test
test is useless since initial URPM import 10 years ago
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1710,7 +1710,7 @@ Pkg_compare(pkg, evr) } else if (pkg->h) _epoch = get_int(pkg->h, RPMTAG_EPOCH); else croak("undefined package"); - if (!compare) { + char *epoch, *version, *release; /* extract epoch and version from evr */ @@ -1745,7 +1745,7 @@ Pkg_compare(pkg, evr) compare = rpmvercmp(_version, version); } } - } + /* restore info string modified */ if (pkg->info) { _release[-1] = '-'; |