comparison 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
comparison
equal deleted inserted replaced
7859:1921e0b6f522 7860:150576e6b984
35 /* Used to identify clipboard data copied from Vim. */ 35 /* Used to identify clipboard data copied from Vim. */
36 36
37 NSString *VimPboardType = @"VimPboardType"; 37 NSString *VimPboardType = @"VimPboardType";
38 38
39 void 39 void
40 clip_mch_lose_selection(VimClipboard *cbd) 40 clip_mch_lose_selection(VimClipboard *cbd UNUSED)
41 { 41 {
42 } 42 }
43 43
44 44
45 int 45 int
46 clip_mch_own_selection(VimClipboard *cbd) 46 clip_mch_own_selection(VimClipboard *cbd UNUSED)
47 { 47 {
48 /* This is called whenever there is a new selection and 'guioptions' 48 /* This is called whenever there is a new selection and 'guioptions'
49 * contains the "a" flag (automatically copy selection). Return TRUE, else 49 * contains the "a" flag (automatically copy selection). Return TRUE, else
50 * the "a" flag does nothing. Note that there is no concept of "ownership" 50 * the "a" flag does nothing. Note that there is no concept of "ownership"
51 * of the clipboard in Mac OS X. 51 * of the clipboard in Mac OS X.