From 159130a058a3051dacecf0e956bc1113874dfabb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 22 Oct 2014 10:59:38 +0200 Subject: [PATCH] silence warning; GCC needs this parameter, but Clang says its unused --- src/util/uv-messenger.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/uv-messenger.c b/src/util/uv-messenger.c index cb3c3ca99..82df1cae7 100644 --- a/src/util/uv-messenger.c +++ b/src/util/uv-messenger.c @@ -10,7 +10,10 @@ typedef struct { #if UV_VERSION_MAJOR == 0 && UV_VERSION_MINOR <= 10 +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-parameter" void uv__messenger_callback(uv_async_t *async, int status) { +#pragma clang diagnostic pop #else void uv__messenger_callback(uv_async_t *async) { #endif