forked from aniani/vim
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:
@@ -7970,7 +7970,7 @@ replace_do_bs(int limit_col)
|
||||
if (cc > 0)
|
||||
{
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
size_t len_before;
|
||||
size_t len_before = 0; // init to shut up GCC
|
||||
|
||||
if (curbuf->b_has_textprop)
|
||||
{
|
||||
|
@@ -799,6 +799,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
699,
|
||||
/**/
|
||||
698,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user