diff options
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1214,7 +1214,7 @@ ts_nosignature(rpmts ts) { return rpmtsSetVSFlags(ts, _RPMVSF_NODIGESTS | _RPMVSF_NOSIGNATURES); } -static void *rpmRunTransactions_callback(const void *arg, +static void *rpmRunTransactions_callback(__attribute__((unused)) const void *h, const rpmCallbackType what, const rpm_loff_t amount, const rpm_loff_t total, @@ -1229,7 +1229,6 @@ static void *rpmRunTransactions_callback(const void *arg, SV *callback = NULL; char *callback_type = NULL; char *callback_subtype = NULL; - Header h = (Header) arg; if (!td) return NULL; |