From 4fec4bb7a58aee6f6cb7e6ea81d1f0322761108d Mon Sep 17 00:00:00 2001 From: Foxe Chen Date: Fri, 29 Aug 2025 18:12:15 +0200 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- src/clipboard.c | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/clipboard.c b/src/clipboard.c index 53b1807217..df7db00df2 100644 --- a/src/clipboard.c +++ b/src/clipboard.c @@ -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 } } diff --git a/src/version.c b/src/version.c index 2baacceb96..1a6c7c9cbe 100644 --- a/src/version.c +++ b/src/version.c @@ -724,6 +724,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1710, /**/ 1709, /**/