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