patch 9.0.1869: Coverity warns about unitialized var
Commit:
https://github.com/vim/vim/commit/86eda0780590ea8cac49e2aa3bd50245329d3579
Author: Ernie Rael <[email protected]>
Date: Tue Sep 5 07:33:48 2023 +0200
patch 9.0.1869: Coverity warns about unitialized var
Problem: Coverity warns about unitialized var
Solution: initialize it
closes: #13029
Signed-off-by: Christian Brabandt <[email protected]>
Co-authored-by: Ernie Rael <[email protected]>
diff --git a/src/eval.c b/src/eval.c
index 4e1dbdeea..ec8d3baf9 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1025,7 +1025,7 @@ get_lval(
int len;
hashtab_T *ht = NULL;
int quiet = flags & GLV_QUIET;
- int writing;
+ int writing = 0;
int vim9script = in_vim9script();
// Clear everything in "lp".
diff --git a/src/version.c b/src/version.c
index d986e7b6f..0010dd5cf 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1869,
/**/
1868,
/**/
--
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qdOs5-00G1ZL-Jz%40256bit.org.