From 17be55a83d0ace4ce4300e054a9c30ed4173a6b4 Mon Sep 17 00:00:00 2001 From: Peter Stamfest Date: Wed, 5 Mar 2014 20:51:52 +0100 Subject: [PATCH] Avoid some "unused" warnings during compilation --- src/rrd_restore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 01ec422f..b7f1d04f 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -12,6 +12,7 @@ #include "rrd_tool.h" #include "rrd_rpncalc.h" #include "rrd_restore.h" +#include "unused.h" #include #include @@ -1155,8 +1156,8 @@ static int stdioXmlInputCloseCallback(void *context) not break the pipe interface protocol by suppressing the sending out of XML error messages. */ static void ignoringErrorFunc( - void *ctx, - const char * msg, + void UNUSED(*ctx), + const char UNUSED(*msg), ...) { } -- 2.47.2