patch 9.0.1743: Parameter of gui_gtk:gui_mch_browse incorrectly marked as UNUSED

Commit: 
https://github.com/vim/vim/commit/44a6b72d7f4561d4c002f0a8083587ac69222826
Author: Doug Kearns <[email protected]>
Date:   Sat Aug 19 13:13:11 2023 +0200

    patch 9.0.1743: Parameter of gui_gtk:gui_mch_browse incorrectly marked as 
UNUSED
    
    Problem:    Parameter of gui_gtk:gui_mch_browse incorrectly marked as
                UNUSED.
    Solution:   Remove UNUSED flag.
    
    closes: #12841
    
    Signed-off-by: Christian Brabandt <[email protected]>
    Co-authored-by: Doug Kearns <[email protected]>

diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 6dbaf246b..69a9cae9f 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1239,10 +1239,10 @@ browse_destroy_cb(GtkWidget *widget UNUSED)
  * dflt                                default name
  * ext                         not used (extension added)
  * initdir                     initial directory, NULL for current dir
- * filter                      not used (file name filter)
+ * filter                      file name filter
  */
     char_u *
-gui_mch_browse(int saving UNUSED,
+gui_mch_browse(int saving,
               char_u *title,
               char_u *dflt,
               char_u *ext UNUSED,
diff --git a/src/version.c b/src/version.c
index a30793d76..1ee8dd33a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1743,
 /**/
     1742,
 /**/

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qXK9d-008wtC-D7%40256bit.org.

Raspunde prin e-mail lui