summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-09-11 12:15:09 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-11 12:15:09 +0200
commit56e14698b45a9c4ef8fa65c55c9bfe86fbb3d6bf (patch)
tree43909282120e92c79a6933c57c2a0b5202e1c871
parentf14b8ba1373f569705cb80419248054100b02360 (diff)
patch 8.2.3425: warning for using uninitialized variablev8.2.3425
Problem: Warning for using uninitialized variable. Solution: Initialize it. (John Marriott)
-rw-r--r--src/screen.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index 6a9f632487..6855bba575 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4787,8 +4787,8 @@ set_chars_option(win_T *wp, char_u **varp)
int round, i, len, entries;
char_u *p, *s;
int c1 = 0, c2 = 0, c3 = 0;
- char_u *last_multispace; // Last occurrence of "multispace:"
- int multispace_len = 0; // Length of lcs-multispace string
+ char_u *last_multispace = NULL; // Last occurrence of "multispace:"
+ int multispace_len = 0; // Length of lcs-multispace string
struct charstab
{
int *cp;
diff --git a/src/version.c b/src/version.c
index 75d083e9de..05331a6869 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3425,
+/**/
3424,
/**/
3423,