forked from aniani/vim
patch 8.1.1983: compiler nags for uninitialized variable and unused function
Problem: Compiler nags for uninitialized variable and unused function. Solution: Add unnecessary initialization. Move function inside #ifdef.
This commit is contained in:
@@ -2716,7 +2716,7 @@ add_text_props_for_append(
|
||||
int count;
|
||||
int n;
|
||||
char_u *props;
|
||||
int new_len;
|
||||
int new_len = 0; // init for gcc
|
||||
char_u *new_line;
|
||||
textprop_T prop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user