0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0699: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add a dummy init.
This commit is contained in:
Bram Moolenaar
2019-01-06 17:44:38 +01:00
parent bf3250a8ad
commit 6d11f3b891
2 changed files with 3 additions and 1 deletions

View File

@@ -7970,7 +7970,7 @@ replace_do_bs(int limit_col)
if (cc > 0) if (cc > 0)
{ {
#ifdef FEAT_TEXT_PROP #ifdef FEAT_TEXT_PROP
size_t len_before; size_t len_before = 0; // init to shut up GCC
if (curbuf->b_has_textprop) if (curbuf->b_has_textprop)
{ {

View File

@@ -799,6 +799,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
699,
/**/ /**/
698, 698,
/**/ /**/