patch 9.1.0092: Compiler warning for missing type in scroll_event()

Commit: 
https://github.com/vim/vim/commit/c908371aec920b8174e40a1adb73a50e326a5668
Author: Christian Brabandt <c...@256bit.org>
Date:   Sat Feb 10 13:17:16 2024 +0100

    patch 9.1.0092: Compiler warning for missing type in scroll_event()
    
    Problem:  Compiler warning for missing type in scroll_event()
              (chdiza)
    Solution: Declare display_type explicitly as integer
    
    fixes: #14005
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 518edaf04..d4a8b9364 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -2065,7 +2065,7 @@ scroll_event(GtkWidget *widget,
 #endif
 #define DT_X11     1
 #define DT_WAYLAND 2
-    static display_type;
+    static int display_type;
     if (!display_type)
        display_type = gui_mch_get_display() ? DT_X11 : DT_WAYLAND;
 #endif
diff --git a/src/version.c b/src/version.c
index 91abfe113..86ed8b708 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    92,
 /**/
     91,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rYmUd-006xfA-Fm%40256bit.org.

Raspunde prin e-mail lui