0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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 <cb@256bit.org>
Co-authored-by: Ernie Rael <errael@raelity.com>
This commit is contained in:
Ernie Rael
2023-09-05 07:33:48 +02:00
committed by Christian Brabandt
parent 59adcb4c20
commit 86eda07805
2 changed files with 3 additions and 1 deletions

View File

@@ -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".