commit | a2a90d5e202c3f8c5cbbf945b94833007b5711e7 | [log] [tgz] |
---|---|---|
author | Christian Brabandt <cb@256bit.org> | Mon Jun 26 18:48:09 2023 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jun 26 18:48:09 2023 +0100 |
tree | 78f5a524d03f198e1c2ea75b9a93895209f97d4d | |
parent | 590aae35575cbd74d80c41d87fc647f2812aad70 [diff] [blame] |
patch 9.0.1666: compiler may warn for uninitialized variable Problem: Compiler may warn for uninitialized variable. Solution: Initialize this_props_len. (Christian Brabandt, closes #12599)
diff --git a/src/memline.c b/src/memline.c index 46e7d8a..3483f09 100644 --- a/src/memline.c +++ b/src/memline.c
@@ -3626,7 +3626,7 @@ int idx; int line_start; long line_size; - int this_props_len; + int this_props_len = 0; char_u *text; size_t textlen; int found;