aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs8
1 files changed, 1 insertions, 7 deletions
diff --git a/URPM.xs b/URPM.xs
index bd0c6f8..8c05507 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2594,12 +2594,7 @@ Trans_check(trans, ...)
if (len == 17 && !memcmp(s, "translate_message", 17))
translate_message = SvIV(ST(i+1));
}
- if (rpmtsCheck(trans->ts)) {
- if (gimme == G_SCALAR)
- mXPUSHs(newSViv(0));
- else if (gimme == G_ARRAY)
- mXPUSHs(newSVpvs("error while checking dependencies"));
- } else {
+ rpmtsCheck(trans->ts);
rpmps ps = rpmtsProblems(trans->ts);
if (rpmpsNumProblems(ps) > 0) {
if (gimme == G_SCALAR)
@@ -2614,7 +2609,6 @@ Trans_check(trans, ...)
mXPUSHs(newSViv(1));
rpmpsFree(ps);
- }
void
Trans_order(trans, ...)