Mercurial > vim
diff src/os_macosx.m @ 7860:150576e6b984 v7.4.1227
commit https://github.com/vim/vim/commit/448a22549b4528fd81d520497f30672567199c96
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 31 18:08:34 2016 +0100
patch 7.4.1227
Problem: Compiler warnings.
Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Jan 2016 18:15:04 +0100 |
parents | b65a26a2aa09 |
children | 4aead6a9b7a9 |
line wrap: on
line diff
--- 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