Problem: Compiler warnings.
Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
#if defined(MSDOS) || defined(MSWIN) ||defined(MACOS)
int i;
- for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i)
+ for (i = 0; i < (int)(sizeof(initmappings) / sizeof(struct initmap)); ++i)
add_map(initmappings[i].arg, initmappings[i].mode);
#endif
}
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1227,
/**/
1226,
/**/