aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs7
1 files changed, 0 insertions, 7 deletions
diff --git a/URPM.xs b/URPM.xs
index 99af00a..96cddbb 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1321,13 +1321,6 @@ static void *rpmRunTransactions_callback(const void *arg,
mPUSHs(newSViv(amount));
mPUSHs(newSViv(total));
}
- // for erasures, the key provided by librpm is always 0, so let's add another parameter (fullname):
- if (h) {
- char *s = headerGetAsString(h, RPMTAG_NVR);
- mPUSHs(newSVpv(s, 0));
- } else {
- PUSHs(&PL_sv_undef);
- }
PUTBACK;
i = call_sv(callback, callback == td->callback_open ? G_SCALAR : G_DISCARD);
SPAGAIN;