diff options
Diffstat (limited to 'URPM.xs')
-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; } |