summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Marriott <basilisk@internode.on.net>2024-05-12 09:01:38 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-12 09:01:38 +0200
commitd01e699348dc98109860feb38e5fc24c6dc3d91d (patch)
tree37d73e98f8fc3180af986b3ddb0fd00e5942c81e
parent82792db6315f7c7b0e299cdde1566f2932a463f8 (diff)
patch 9.1.0410: warning about uninitialized variablev9.1.0410
Problem: warning about uninitialized variable (Tony Mechelynck, after 9.1.0409) Solution: initialize variable (John Marriott) closes: #14754 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--src/regexp.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/regexp.c b/src/regexp.c
index c80f29af56..d431932191 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 80e7e12348..2829873f42 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 410,
+/**/
409,
/**/
408,