Problem: Various warnings from clang on MS-Windows.
Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
closes #10538)
{
printf("ERROR: Cannot find filetype.vim in \"%s\"\n", installdir);
printf("It looks like you did not unpack the runtime archive.\n");
- printf("You must unpack the runtime archive \"vim%srt.zip\" before installing.\n",
- VIM_VERSION_NODOT + 3);
+ printf("You must unpack the runtime archive \"%srt.zip\" before installing.\n",
+ VIM_VERSION_NODOT);
myexit(1);
}
* Do the conversion.
*/
dst = ptr;
- size = size;
while (size > 0)
{
found_bad = FALSE;
{
int button;
win_T *wp;
- int modifiers, kbd_modifiers;
+ int modifiers = 0;
+ int kbd_modifiers;
int zDelta = GET_WHEEL_DELTA_WPARAM(wParam);
POINT pt;
pt.y = GET_Y_LPARAM(lParam);
ScreenToClient(s_textArea, &pt);
- gui_send_mouse_event(button, pt.x, pt.y, FALSE, kbd_modifiers);
+ gui_send_mouse_event(button, pt.x, pt.y, FALSE, modifiers);
}
#ifdef USE_SYSMENU_FONT
&& idx < (int)rb->AppExecLinkReparseBuffer.StringCount
&& idx != 2; )
{
- if ((*p++ == L'\0'))
+ if (*p++ == L'\0')
++idx;
}
* the allocated memory.
*/
int
-mch_can_exe(char_u *name, char_u **path, int use_path)
+mch_can_exe(char_u *name, char_u **path, int use_path UNUSED)
{
return executable_exists((char *)name, path, TRUE, TRUE);
}
const int *
start_timeout(long msec)
{
- UINT interval = (UINT)msec;
BOOL ret;
timeout_flag = &timeout_flags[flag_idx];
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 5069,
/**/
5068,
/**/