Patch 8.2.2028

4 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 21, 2020, 8:04:14 AM11/21/20
to vim...@googlegroups.com

Patch 8.2.2028
Problem: Coverity warns for using an uninitialized variable.
Solution: Initialize to NULL.
Files: src/eval.c


*** ../vim-8.2.2027/src/eval.c 2020-11-12 20:16:35.699302831 +0100
--- src/eval.c 2020-11-21 14:02:29.039409202 +0100
***************
*** 791,797 ****
listitem_T *ni;
char_u *key = NULL;
int len;
! hashtab_T *ht;
int quiet = flags & GLV_QUIET;

// Clear everything in "lp".
--- 791,797 ----
listitem_T *ni;
char_u *key = NULL;
int len;
! hashtab_T *ht = NULL;
int quiet = flags & GLV_QUIET;

// Clear everything in "lp".
*** ../vim-8.2.2027/src/version.c 2020-11-21 13:58:46.420203217 +0100
--- src/version.c 2020-11-21 14:03:12.943253484 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2028,
/**/

--
Facepalm reply #9: "Speed up, you can drive 80 here" "Why, the cars behind us
are also driving 60"

/// 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 ///
Reply all
Reply to author
Forward
0 new messages