diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 21:15:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 21:15:45 +0100 |
commit | 6d023f98dfbad6215a4e94ed7df28f8972b3ff9d (patch) | |
tree | 8ae154129c4687069e968a2b7f8fae847f579a3c /src/drawline.c | |
parent | ecdc82e74e6a7e73d9067ece1d5eac33abfde5ed (diff) |
patch 9.0.0072: compiler warning for uninitialized variablev9.0.0072
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it. (John Marriott)
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index d474de26c0..76176ab24c 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -819,7 +819,7 @@ win_line( { char_u *prev_ptr = ptr; chartabsize_T cts; - int charsize; + int charsize = 0; init_chartabsize_arg(&cts, wp, lnum, vcol, line, ptr); while (cts.cts_vcol < v && *cts.cts_ptr != NUL) |