commit | 3b814af7e1e7ca18fe1c8c671b18e5e8c1f9e94c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jun 15 10:22:17 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jun 15 10:22:17 2021 +0200 |
tree | e59119aa7c5290b3c7fa18b9fddedee1caaa561c | |
parent | 47f6db90895c01259e90108caae9517e894e1f95 [diff] [blame] |
patch 8.2.3000: Vim9: warning for uninitialized variable Problem: Vim9: warning for uninitialized variable. Solution: Add initialization. (John Marriott)
diff --git a/src/vim9compile.c b/src/vim9compile.c index dbad31b..57e2311 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -9051,7 +9051,7 @@ { dfunc_T *dfunc = ((dfunc_T *)def_functions.ga_data) + ufunc->uf_dfunc_idx; - isn_T *instr_dest; + isn_T *instr_dest = NULL; switch (compile_type) {