summaryrefslogtreecommitdiff
path: root/src/os_macosx.m
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-31 18:08:34 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-31 18:08:34 +0100
commit448a22549b4528fd81d520497f30672567199c96 (patch)
treed59ab514add9eda10068be198c1e168dbce05875 /src/os_macosx.m
parent3803bad99de92f4c5ebd6f40b757bc7ade47619e (diff)
downloadvim-git-448a22549b4528fd81d520497f30672567199c96.tar.gz
patch 7.4.1227v7.4.1227
Problem: Compiler warnings. Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
Diffstat (limited to 'src/os_macosx.m')
-rw-r--r--src/os_macosx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m
index d919f6335..dcd3da95d 100644
--- a/src/os_macosx.m
+++ b/src/os_macosx.m
@@ -37,13 +37,13 @@
NSString *VimPboardType = @"VimPboardType";
void
-clip_mch_lose_selection(VimClipboard *cbd)
+clip_mch_lose_selection(VimClipboard *cbd UNUSED)
{
}
int
-clip_mch_own_selection(VimClipboard *cbd)
+clip_mch_own_selection(VimClipboard *cbd UNUSED)
{
/* This is called whenever there is a new selection and 'guioptions'
* contains the "a" flag (automatically copy selection). Return TRUE, else