From: Bram Moolenaar Date: Sat, 11 Sep 2021 10:15:09 +0000 (+0200) Subject: patch 8.2.3425: warning for using uninitialized variable X-Git-Tag: v8.2.3425 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56e14698b45a9c4ef8fa65c55c9bfe86fbb3d6bf;p=vim patch 8.2.3425: warning for using uninitialized variable Problem: Warning for using uninitialized variable. Solution: Initialize it. (John Marriott) --- 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 @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3425, /**/ 3424, /**/