]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Avoid some "unused" warnings during compilation 451/head
authorPeter Stamfest <peter@stamfest.at>
Wed, 5 Mar 2014 19:51:52 +0000 (20:51 +0100)
committerPeter Stamfest <peter@stamfest.at>
Wed, 5 Mar 2014 20:23:18 +0000 (21:23 +0100)
src/rrd_restore.c

index 01ec422f01642a9aac823c0c3bfc5a980c8a6261..b7f1d04fbb59a01c63a64fcb0e58836148b1181a 100644 (file)
@@ -12,6 +12,7 @@
 #include "rrd_tool.h"
 #include "rrd_rpncalc.h"
 #include "rrd_restore.h"
+#include "unused.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -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)
     ...)
 {
 }