patch 9.1.0947: short-description Commit: https://github.com/vim/vim/commit/59c8880adef567addc8e91b37ee6b91fc7d7638d Author: Yegappan Lakshmanan <yegap...@yahoo.com> Date: Thu Dec 19 20:00:31 2024 +0100
patch 9.1.0947: short-description Problem: Coverity comlains about un-initialized var (after v9.1.0943) Solution: initialize variable (Yegappan Lakshmanan) closes: #16256 Signed-off-by: Yegappan Lakshmanan <yegap...@yahoo.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/version.c b/src/version.c index f18772d18..f02661753 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,10 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 947, +/**/ + 946, /**/ 945, /**/ diff --git a/src/vim9compile.c b/src/vim9compile.c index 3666bb35c..eb9ddafbb 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2281,7 +2281,7 @@ compile_lhs( int oplen, cctx_T *cctx) { - char_u *var_end; + char_u *var_end = NULL; int is_decl = is_decl_command(cmdidx); if (lhs_init(lhs, var_start, is_decl, heredoc, &var_end) == FAIL) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tOLzG-007XTE-R1%40256bit.org.