From ec85bc136701e56615c17765e277545593ca32ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 22 Aug 2016 21:40:25 +0200 Subject: [PATCH] core: fix warnings about unused variables --- src/core/wee-hook.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index 2e12faa1d..577649e92 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -119,6 +119,8 @@ hook_init () #if defined(__CYGWIN__) || defined(__APPLE__) || defined(__MACH__) hook_socketpair_ok = 0; + (void) sock; + (void) rc; #else /* * Test if socketpair() function is working fine: this is NOT the case