mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.0.1044: warning for uninitialized variable
Problem: Warning for uninitialized variable. (John Marriott) Solution: Initialize ind_pre.
This commit is contained in:
@@ -2507,7 +2507,7 @@ op_insert(oparg_T *oap, long count1)
|
|||||||
{
|
{
|
||||||
long ins_len, pre_textlen = 0;
|
long ins_len, pre_textlen = 0;
|
||||||
char_u *firstline, *ins_text;
|
char_u *firstline, *ins_text;
|
||||||
colnr_T ind_pre, ind_post;
|
colnr_T ind_pre = 0, ind_post;
|
||||||
struct block_def bd;
|
struct block_def bd;
|
||||||
int i;
|
int i;
|
||||||
pos_T t1;
|
pos_T t1;
|
||||||
|
@@ -769,6 +769,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 */
|
||||||
|
/**/
|
||||||
|
1044,
|
||||||
/**/
|
/**/
|
||||||
1043,
|
1043,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user