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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user