mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user