summaryrefslogtreecommitdiff
path: root/src/screen.c
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 /src/screen.c
parentf14b8ba1373f569705cb80419248054100b02360 (diff)
downloadvim-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)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c4
1 files changed, 2 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;