diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-10 15:25:40 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-10 15:28:35 +0100 |
commit | d04b6de3d67680dd071ef8abd5bde34da7d82143 (patch) | |
tree | efa30d400d3ffd06207130b6f7200ff80bc8e365 /URPM.xs | |
parent | 263c1ab0a086fb8aac60d256d355b48e0e2293fb (diff) | |
download | perl-URPM-d04b6de3d67680dd071ef8abd5bde34da7d82143.tar perl-URPM-d04b6de3d67680dd071ef8abd5bde34da7d82143.tar.gz perl-URPM-d04b6de3d67680dd071ef8abd5bde34da7d82143.tar.bz2 perl-URPM-d04b6de3d67680dd071ef8abd5bde34da7d82143.tar.xz perl-URPM-d04b6de3d67680dd071ef8abd5bde34da7d82143.zip |
silent a warning
by reverting a bit of commit b0cd1853933d8c68610c9e173721525c6a17e8ce
that should have gone with along:
commit b5249dafb882fbc105f05853c80fd30503d57a3f
Diffstat (limited to 'URPM.xs')
-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; |