comparison src/screen.c @ 25780:3ca409d4daa2 v8.2.3425

patch 8.2.3425: warning for using uninitialized variable Commit: https://github.com/vim/vim/commit/56e14698b45a9c4ef8fa65c55c9bfe86fbb3d6bf Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 11 12:15:09 2021 +0200 patch 8.2.3425: warning for using uninitialized variable Problem: Warning for using uninitialized variable. Solution: Initialize it. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Sep 2021 12:30:06 +0200
parents 373278f5bd51
children bf09d07f098e
comparison
equal deleted inserted replaced
25779:2acf2d6dbffc 25780:3ca409d4daa2
4785 set_chars_option(win_T *wp, char_u **varp) 4785 set_chars_option(win_T *wp, char_u **varp)
4786 { 4786 {
4787 int round, i, len, entries; 4787 int round, i, len, entries;
4788 char_u *p, *s; 4788 char_u *p, *s;
4789 int c1 = 0, c2 = 0, c3 = 0; 4789 int c1 = 0, c2 = 0, c3 = 0;
4790 char_u *last_multispace; // Last occurrence of "multispace:" 4790 char_u *last_multispace = NULL; // Last occurrence of "multispace:"
4791 int multispace_len = 0; // Length of lcs-multispace string 4791 int multispace_len = 0; // Length of lcs-multispace string
4792 struct charstab 4792 struct charstab
4793 { 4793 {
4794 int *cp; 4794 int *cp;
4795 char *name; 4795 char *name;
4796 }; 4796 };