aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 6334a3b..dbff81f 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -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;