Patch 8.2.1670
Problem: A couple of gcc compiler warnings.
Solution: Initialize local variables. (Dominique Pellé, closes #6944)
Files: src/memline.c, src/option.c
*** ../vim-8.2.1669/src/memline.c 2020-08-22 15:19:13.932593710 +0200
--- src/memline.c 2020-09-12 21:03:44.342336673 +0200
***************
*** 2634,2640 ****
int n;
char_u *props;
int new_len = 0; // init for gcc
! char_u *new_line;
textprop_T prop;
// Make two rounds:
--- 2634,2640 ----
int n;
char_u *props;
int new_len = 0; // init for gcc
! char_u *new_line = NULL;
textprop_T prop;
// Make two rounds:
*** ../vim-8.2.1669/src/option.c 2020-09-12 14:53:45.802973526 +0200
--- src/option.c 2020-09-12 21:03:44.342336673 +0200
***************
*** 683,689 ****
static char_u *
find_dup_item(char_u *origval, char_u *newval, long_u flags)
{
! int bs;
size_t newlen;
char_u *s;
--- 683,689 ----
static char_u *
find_dup_item(char_u *origval, char_u *newval, long_u flags)
{
! int bs = 0;
size_t newlen;
char_u *s;
*** ../vim-8.2.1669/src/version.c 2020-09-12 19:51:39.096297159 +0200
--- src/version.c 2020-09-12 21:04:00.986285431 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1670,
/**/
--
A special law prohibits unmarried women from parachuting on Sunday or she
shall risk arrest, fine, and/or jailing.
[real standing law in Florida, United States of America]
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///