patch 9.1.1710: Compile warnings in clipboard.c

Commit: 
https://github.com/vim/vim/commit/4fec4bb7a58aee6f6cb7e6ea81d1f0322761108d
Author: Foxe Chen <[email protected]>
Date:   Fri Aug 29 18:12:15 2025 +0200

    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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/clipboard.c b/src/clipboard.c
index 53b180721..df7db00df 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 2baacceb9..1a6c7c9cb 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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1us1kr-009Vml-LT%40256bit.org.

Raspunde prin e-mail lui