0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0378: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.
This commit is contained in:
Bram Moolenaar
2022-09-04 13:45:15 +01:00
parent eb5adf19d1
commit c1eb131c9e
2 changed files with 3 additions and 1 deletions

View File

@@ -841,7 +841,7 @@ read_cnt_string(FILE *fd, int cnt_bytes, int *cntp)
read_region_section(FILE *fd, slang_T *lp, int len)
{
int i;
int c;
int c = 0;
if (len > MAXREGIONS * 2)
return SP_FORMERROR;