patch 9.1.0410: warning about uninitialized variable

Commit: 
https://github.com/vim/vim/commit/d01e699348dc98109860feb38e5fc24c6dc3d91d
Author: John Marriott <basil...@internode.on.net>
Date:   Sun May 12 09:01:38 2024 +0200

    patch 9.1.0410: warning about uninitialized variable
    
    Problem:  warning about uninitialized variable
              (Tony Mechelynck, after 9.1.0409)
    Solution: initialize variable (John Marriott)
    
    closes: #14754
    
    Signed-off-by: John Marriott <basil...@internode.on.net>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/regexp.c b/src/regexp.c
index c80f29af5..d43193219 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -642,7 +642,7 @@ skip_regexp_ex(
        {
            if (dirc == '?' && newp != NULL && p[1] == '?')
            {
-               size_t  startplen;
+               size_t  startplen = 0;
 
                // change "\?" to "?", make a copy first.
                if (*newp == NULL)
diff --git a/src/version.c b/src/version.c
index 80e7e1234..2829873f4 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 */
+/**/
+    410,
 /**/
     409,
 /**/

-- 
-- 
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/E1s63QH-00E8nV-QY%40256bit.org.

Raspunde prin e-mail lui