From 4279147b80ca2b61c0dbec5206d61dfd0c61e7db Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Fri, 23 Jun 2017 18:58:55 +0200 Subject: [PATCH] GH-472 Add unused marker --- SwiftNeoVim/NeoVimAgent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftNeoVim/NeoVimAgent.m b/SwiftNeoVim/NeoVimAgent.m index 2767b3ba..d7fe2669 100644 --- a/SwiftNeoVim/NeoVimAgent.m +++ b/SwiftNeoVim/NeoVimAgent.m @@ -62,7 +62,7 @@ static void log_cfmachport_error(SInt32 err, NeoVimAgentMsgId msgid, NSData *inp @end -static CFDataRef local_server_callback(CFMessagePortRef local, SInt32 msgid, CFDataRef data, void *info) { +static CFDataRef local_server_callback(CFMessagePortRef local __unused, SInt32 msgid, CFDataRef data, void *info) { @autoreleasepool { NeoVimAgent *agent = (__bridge NeoVimAgent *) info; [agent handleMessageWithId:msgid data:(__bridge NSData *) (data)];