diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-10 15:31:29 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-10 15:31:29 +0100 |
commit | 119d37f5be1c8797b5d893d15204396611d7ff38 (patch) | |
tree | 1cbbb0a7c531c07fc907689f637f995e1a2d629e | |
parent | d04b6de3d67680dd071ef8abd5bde34da7d82143 (diff) | |
download | perl-URPM-119d37f5be1c8797b5d893d15204396611d7ff38.tar perl-URPM-119d37f5be1c8797b5d893d15204396611d7ff38.tar.gz perl-URPM-119d37f5be1c8797b5d893d15204396611d7ff38.tar.bz2 perl-URPM-119d37f5be1c8797b5d893d15204396611d7ff38.tar.xz perl-URPM-119d37f5be1c8797b5d893d15204396611d7ff38.zip |
silent another warning
rationale: we don't set any private data with rpmlogSetCallback()
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ static ssize_t write_nocheck(int fd, const void *buf, size_t count) { } static int rpmError_callback_data; -static int rpmError_callback(rpmlogRec rec, rpmlogCallbackData data) { +static int rpmError_callback(rpmlogRec rec, __attribute__((unused)) rpmlogCallbackData data) { write_nocheck(rpmError_callback_data, rpmlogRecMessage(rec), strlen(rpmlogRecMessage(rec))); return RPMLOG_DEFAULT; } |