From d04b6de3d67680dd071ef8abd5bde34da7d82143 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 10 Nov 2016 15:25:40 +0100 Subject: silent a warning by reverting a bit of commit b0cd1853933d8c68610c9e173721525c6a17e8ce that should have gone with along: commit b5249dafb882fbc105f05853c80fd30503d57a3f --- URPM.xs | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.1