patch 7.4.1227
Problem: Compiler warnings.
Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
diff --git a/src/os_macosx.m b/src/os_macosx.m
index d919f63..dcd3da9 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