diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-09-11 12:15:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-11 12:15:09 +0200 |
commit | 56e14698b45a9c4ef8fa65c55c9bfe86fbb3d6bf (patch) | |
tree | 43909282120e92c79a6933c57c2a0b5202e1c871 | |
parent | f14b8ba1373f569705cb80419248054100b02360 (diff) | |
download | vim-git-56e14698b45a9c4ef8fa65c55c9bfe86fbb3d6bf.tar.gz |
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.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index 6a9f63248..6855bba57 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 75d083e9d..05331a686 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, |