0
0
mirror of https://github.com/vim/vim.git synced 2025-10-22 08:34:29 -04:00

patch 9.1.1710: Compile warnings in clipboard.c

Problem:  Compile warnings in clipboard.c
          (xvim64, after v9.1.1704)
Solution: Remove returns from void functions (Foxe Chen)

fixes: #18145
closes: #18157

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Foxe Chen
2025-08-29 18:12:15 +02:00
committed by Christian Brabandt
parent d5c89cc6bb
commit 4fec4bb7a5
2 changed files with 5 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ clip_gen_lose_selection(Clipboard_T *cbd UNUSED)
else if (clipmethod == CLIPMETHOD_OTHER)
{
#if !defined(FEAT_XCLIPBOARD) && !defined(FEAT_WAYLAND_CLIPBOARD)
return clip_mch_lose_selection(cbd);
clip_mch_lose_selection(cbd);
#endif
}
}
@@ -1283,7 +1283,7 @@ clip_gen_set_selection(Clipboard_T *cbd)
else if (clipmethod == CLIPMETHOD_OTHER)
{
#if !defined(FEAT_XCLIPBOARD) && !defined(FEAT_WAYLAND_CLIPBOARD)
return clip_mch_set_selection(cbd);
clip_mch_set_selection(cbd);
#endif
}
}
@@ -1313,7 +1313,7 @@ clip_gen_request_selection(Clipboard_T *cbd UNUSED)
else if (clipmethod == CLIPMETHOD_OTHER)
{
#if !defined(FEAT_XCLIPBOARD) && !defined(FEAT_WAYLAND_CLIPBOARD)
return clip_mch_request_selection(cbd);
clip_mch_request_selection(cbd);
#endif
}
}

View File

@@ -724,6 +724,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1710,
/**/
1709,
/**/